hmacSHA512 function

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

SHA512

Implementation

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