26 releases
Uses new Rust 2024
| new 0.6.0-rc.8 | Jan 11, 2026 |
|---|---|
| 0.6.0-rc.7 | Dec 28, 2025 |
| 0.6.0-rc.2 | Nov 5, 2025 |
| 0.6.0-rc.1 | May 29, 2025 |
| 0.0.0 |
|
#79 in Authentication
2,330,288 downloads per month
Used in 2,182 crates
(46 directly)
17KB
187 lines
RustCrypto: Password Hashing Traits
Traits which describe the functionality of password hashing algorithms.
About
Provides a no_std-friendly implementation of the
Password Hashing Competition (PHC) string format specification
(a well-defined subset of the Modular Crypt Format a.k.a. MCF) which
works in conjunction with the traits this crate defines.
Supported Crates
See RustCrypto/password-hashes for algorithm implementations which use this crate for interoperability:
argon2- Argon2 memory hard key derivation functionpbkdf2- Password-Based Key Derivation Function v2scrypt- scrypt key derivation function
License
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.
Dependencies
~0–255KB