hmacSHA512 function

Uint8List hmacSHA512(
  1. Uint8List key,
  2. Uint8List data
)

Implementation

Uint8List hmacSHA512(Uint8List key, Uint8List data) {
  final tmp = HMac(SHA512Digest(), 128)..init(KeyParameter(key));
  return tmp.process(data);
}