sha256Hash function

Uint8List sha256Hash(
  1. ByteBuffer buf
)

Implementation

Uint8List sha256Hash(ByteBuffer buf) {
  return SHA256().update(buf.asUint8List()).toU8a();
}