sha512 static method
Calculates the sha512 hash from the given buffers.
@param {List
Implementation
static Uint8List sha512(List<Uint8List> byteArrays) {
Digest digest = Digest("SHA-512");
Uint8List hashed = Uint8List(64);
byteArrays.forEach((byteArray) {
digest.update(byteArray, 0, byteArray.lengthInBytes);
});
digest.doFinal(hashed, 0);
return hashed;
}