newMacSinkSync method
Blake2bSink
newMacSinkSync({
- required SecretKeyData secretKeyData,
- List<
int> nonce = const <int>[], - List<
int> aad = const <int>[],
override
Returns DartMacSinkMixin, which can be used synchronously.
Implementation
@override
Blake2bSink newMacSinkSync({
required SecretKeyData secretKeyData,
List<int> nonce = const <int>[],
List<int> aad = const <int>[],
}) {
return Blake2bSink(
hashLengthInBytes: hashLengthInBytes,
)..initializeSync(
secretKey: secretKeyData,
nonce: nonce,
aad: aad,
);
}