hmacSha512 static method

String hmacSha512(
  1. String text,
  2. String key
)

HMAC-SHA512 hex. hmacSha512(body, secret)

Implementation

static String hmacSha512(String text, String key) => _toHex(_hmac(_sha512, _u8(key), _u8(text)));