#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

#22 in Authentication

Download history 2034/week @ 2024-08-02 1505/week @ 2024-08-09 1725/week @ 2024-08-16 1268/week @ 2024-08-23 1774/week @ 2024-08-30 2391/week @ 2024-09-06 1030/week @ 2024-09-13 1548/week @ 2024-09-20 1868/week @ 2024-09-27 2520/week @ 2024-10-04 1839/week @ 2024-10-11 2237/week @ 2024-10-18 2607/week @ 2024-10-25 3469/week @ 2024-11-01 4244/week @ 2024-11-08 4147/week @ 2024-11-15

15,073 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