hashPassword

Convenience function to hash a password.

If the algorithm isn't supplied use Argon2 as the default.

  1. string hashPassword(Algorithm alg, string password, PwHashConfig config)
  2. string hashPassword(string password, PwHashConfig config)
    string
    hashPassword

Meta