sha512 function

String sha512(
  1. Uint8List bytes
)

Returns SHA-512 hash

Implementation

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