/password-hashes

Password hashing functions / KDFs

Primary LanguageRust

RustCrypto: Password Hashes

Project Chat dependency status Apache2/MIT licensed

Collection of password hashing algorithms, otherwise known as password-based key derivation functions, written in pure Rust.

Supported Algorithms

Algorithm Crate Crates.io Documentation MSRV
Argon2 argon2 crates.io Documentation MSRV 1.51
Balloon balloon-hash  crates.io Documentation MSRV 1.56
bcrypt-pbkdf bcrypt-pbkdf crates.io Documentation MSRV 1.56
PBKDF2 pbkdf2 crates.io Documentation MSRV 1.51
scrypt scrypt crates.io Documentation MSRV 1.56
SHA-crypt sha-crypt crates.io Documentation MSRV 1.51

Please see the OWASP Password Storage Cheat Sheet for assistance in selecting an appropriate algorithm for your use case.

Minimum Supported Rust Version (MSRV) Policy

MSRV bumps are considered breaking changes and will be performed only with minor version bump.

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.