hash static method
Computes a generic hash of specified length for given value and optional key.
Implementation
static Uint8List hash(Uint8List value, {Uint8List? key, int? outlen}) {
outlen ??= Sodium.cryptoGenerichashBytes;
return Sodium.cryptoGenerichash(outlen, value, key);
}