hmacSha512 static method

String hmacSha512(
  1. String message,
  2. String secret
)

Implementation

static String hmacSha512(String message, String secret) {
  var bytesHmac = hmacBytes(message, secret, SHA512Digest(), 128);
  return hex.encode(bytesHmac);
}