Structs§
- Hash
Opts - The options for hashing a password
- Password
Hash
Enums§
Functions§
- generate_
nonce - hash_
password - Hashes a password using PBKDF2 with SHA256 and a random salt.
- hash_
password_ with_ opts - Hashes a password using PBKDF2 with SHA256 and the given options.
- mock_
sasl_ challenge - sasl_
verify - scram256_
hash - Hashes a password using PBKDF2 with SHA256,
and returns it in the SCRAM-SHA-256 format.
The format is SCRAM-SHA-256$
: $<stored_key>:<server_key> - scram256_
parse_ opts - Parses a SCRAM-SHA-256 hash and returns the options used to create it.
- scram256_
verify - Verifies a password against a SCRAM-SHA-256 hash.