hash512 function
Computes the SHA-512 hash of the given data
.
This function calculates the SHA-512 hash of the provided data
and returns
the result as a Uint8List.
Returns a Uint8List containing the SHA-512 hash.
Implementation
Uint8List hash512(Uint8List data) {
return SHA512Digest().process(data);
}