sha512 static method

Uint8List sha512(
  1. Uint8List message
)

Implementation

static Uint8List sha512(Uint8List message) {
  if (!(message != null && message.length > 0)) return null;

  Uint8List out = Uint8List(hashLength);

  TweetNaclFast.crypto_hash(out, message);

  return out;
}