Collection of password hashing algorithms, otherwise known as password-based key derivation functions, written in pure Rust.
Algorithm | Crate | Crates.io | Documentation | MSRV |
---|---|---|---|---|
Argon2 | argon2 |
|||
Balloon | balloon-hash |
|||
bcrypt-pbkdf | bcrypt-pbkdf |
|||
PBKDF2 | pbkdf2 |
|||
scrypt | scrypt |
|||
SHA-crypt | sha-crypt |
Please see the OWASP Password Storage Cheat Sheet for assistance in selecting an appropriate algorithm for your use case.
MSRV bumps are considered breaking changes and will be performed only with minor version bump.
All crates licensed under either of
at your option.
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.