hash function
Implementation
BinaryBlob hash(Uint8List data) {
final hashed = sha256.convert(data).bytes;
return Uint8List.fromList(hashed);
}
BinaryBlob hash(Uint8List data) {
final hashed = sha256.convert(data).bytes;
return Uint8List.fromList(hashed);
}