beforeData method
- @protected
- required SecretKeyData secretKey,
- required List<
int> nonce, - required List<
int> aad,
A protected method required by DartChacha20Poly1305AeadMacAlgorithm implementation.
Implementation
@protected
void beforeData({
required SecretKeyData secretKey,
required List<int> nonce,
required List<int> aad,
}) {
if (aad.isNotEmpty) {
throw ArgumentError.value(aad, 'aad');
}
}