sha1 function

String sha1(
  1. Uint8List bytes
)

Returns SHA-1 hash

Implementation

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