callStr abstract method
Provides crypto_pwhash.
Allows to pass a dart string as password, which is converted to bytes
using passwordEncoding, which defaults to utf8.
See https://libsodium.gitbook.io/doc/password_hashing/default_phf#key-derivation See https://libsodium.gitbook.io/doc/password_hashing/default_phf#guidelines-for-choosing-the-parameters
Implementation
SecureKey callStr({
required int outLen,
required String password,
Encoding passwordEncoding = utf8,
required Uint8List salt,
required int opsLimit,
required int memLimit,
CryptoPwhashAlgorithm alg = CryptoPwhashAlgorithm.defaultAlg,
});