#password-hashing #secure-password #hashing #password-hash #password #phf

no-std balloon-hash

Pure Rust implementation of the Balloon password hashing function

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

#20 in Authentication

Download history 2795/week @ 2024-07-30 1888/week @ 2024-08-06 1591/week @ 2024-08-13 1602/week @ 2024-08-20 1332/week @ 2024-08-27 2301/week @ 2024-09-03 1790/week @ 2024-09-10 1073/week @ 2024-09-17 1564/week @ 2024-09-24 2094/week @ 2024-10-01 2440/week @ 2024-10-08 1793/week @ 2024-10-15 2594/week @ 2024-10-22 3053/week @ 2024-10-29 3973/week @ 2024-11-05 4023/week @ 2024-11-12

14,092 downloads per month
Used in 17 crates (6 directly)

MIT/Apache

31KB
527 lines

RustCrypto: Balloon Hash

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the Balloon password hashing function.

Documentation

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