hashString static method
Computes a generic hash of specified length for given string value and optional key.
Implementation
static Uint8List hashString(String value, {Uint8List? key, int? outlen}) =>
hash(utf8.encoder.convert(value), key: key, outlen: outlen);