hashPassword method
Hashes a password
with salt
using PBKDF2 algorithm.
See hashRounds, hashLength and hashFunction for more details. This method invoke AuthUtility.generatePasswordHash with the above inputs.
Implementation
String hashPassword(String password, String salt) {
return AuthUtility.generatePasswordHash(password, salt,
hashRounds: hashRounds,
hashLength: hashLength,
hashFunction: hashFunction);
}