hmacSha512Hash static method
Calculate the HMAC-SHA-512 hash of the input data using the provided key
Implementation
static List<int> hmacSha512Hash(List<int> key, List<int> data) {
final hm = HMAC(() => SHA512(), key);
try {
hm.update(data);
return hm.digest();
} finally {
hm.clean();
}
}