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