RustCrypto: Password Hashes
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 |
|||
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.
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.