Module password

Source
Expand description

Password hashing utilities.

Structs§

PasswordStrength
Password strength assessment.

Enums§

PasswordStrengthLevel
Password strength levels.

Functions§

check_password_strength
Check password strength.
generate_password
Generate a secure random password.
hash_password
Hash a password using Argon2.
hash_password_bcrypt
Hash a password using bcrypt (alternative implementation).
verify_password
Verify a password against a hash.
verify_password_bcrypt
Verify a password against a bcrypt hash.