Hashes a PERSON'S PASSWORD under a password-policy spec, on this thread: argon2id in the PHC form, or scrypt in $scrypt$N$r$p$salt$hash.
$scrypt$N$r$p$salt$hash
Every other secret goes through hashSecret(), which stays scrypt.
hashSecret()
the password
the policy's hash spec; see passwordHashSpec()
passwordHashSpec()
the stored form
Hashes a PERSON'S PASSWORD under a password-policy spec, on this thread: argon2id in the PHC form, or scrypt in
$scrypt$N$r$p$salt$hash.Every other secret goes through
hashSecret(), which stays scrypt.