sha256 function

String sha256(
  1. Uint8List bytes
)

Returns SHA-256 hash

Implementation

String sha256(Uint8List bytes) {
  var digest = crypto_crypto.sha256.convert(bytes);
  return digest.toString();
}