8 releases (4 breaking)
0.5.0-pre.1 | Jul 27, 2024 |
---|---|
0.5.0-pre.0 | Feb 8, 2024 |
0.4.0 | Mar 5, 2023 |
0.3.0 | Jun 27, 2022 |
0.1.0 | Jan 23, 2022 |
#34 in Authentication
12,435 downloads per month
Used in 18 crates
(6 directly)
31KB
527 lines
RustCrypto: Balloon Hash
Pure Rust implementation of the Balloon password hashing function.
About
This crate contains an implementation of the Balloon password hashing function as specified in the paper Balloon Hashing: A Memory-Hard Function Providing Provable Protection Against Sequential Attacks.
This algorithm is first practical password hashing function that provides:
- Memory hardness which is proven in the random-oracle model
- Password-independent access
- Performance which meets or exceeds the best heuristically secure password-hashing algorithms
Minimum Supported Rust Version
Rust 1.65 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
SemVer Policy
- All on-by-default features of this library are covered by SemVer
- MSRV is considered exempt from SemVer as noted above
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
~1.3–1.8MB
~39K SLoC