hashString static method
Derives a hash from given string password and salt.
Implementation
static Uint8List hashString(String password, Uint8List salt,
{int? outlen,
int? opslimit,
int? memlimit,
PasswordHashAlgorithm alg = PasswordHashAlgorithm.Default}) =>
hash(utf8.encoder.convert(password), salt,
outlen: outlen, opslimit: opslimit, memlimit: memlimit);