calculateNonce method

Future<Mac> calculateNonce({
  1. required SecretKey preNonce,
})

Implementation

Future<Mac> calculateNonce({
  required SecretKey preNonce,
}) {
  return Hmac.sha384().calculateMac(
    content,
    secretKey: preNonce,
  );
}