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