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

no-std balloon-hash

Pure Rust implementation of the Balloon password hashing function

7 releases (4 breaking)

0.5.0-pre.0 Feb 8, 2024
0.4.0 Mar 5, 2023
0.3.0 Jun 27, 2022
0.2.1 Jun 16, 2022
0.1.0 Jan 23, 2022

#303 in Authentication

Download history 98/week @ 2023-12-23 117/week @ 2023-12-30 211/week @ 2024-01-06 283/week @ 2024-01-13 238/week @ 2024-01-20 292/week @ 2024-01-27 427/week @ 2024-02-03 193/week @ 2024-02-10 350/week @ 2024-02-17 316/week @ 2024-02-24 300/week @ 2024-03-02 224/week @ 2024-03-09 182/week @ 2024-03-16 245/week @ 2024-03-23 376/week @ 2024-03-30 411/week @ 2024-04-06

1,267 downloads per month
Used in 10 crates (4 directly)

MIT/Apache

30KB
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.2–1.7MB
~36K SLoC