calculateMacSync method
Implementation
Mac calculateMacSync(
List<int> cipherText, {
required SecretKeyData secretKeyData,
required List<int> nonce,
List<int> aad = const <int>[],
}) {
final sink = newMacSinkSync(
secretKeyData: secretKeyData,
nonce: nonce,
aad: aad,
);
sink.add(cipherText);
return sink.macSync();
}