#crypto #password #hashing

no-std balloon-hash

Pure Rust implementation of the Balloon password hashing function

5 unstable releases

Uses new Rust 2021

0.3.0 Jun 27, 2022
0.2.1 Jun 16, 2022
0.2.0 Mar 18, 2022
0.1.1 Feb 17, 2022
0.1.0 Jan 23, 2022

#18 in #hashing

Download history 387/week @ 2022-08-14 318/week @ 2022-08-21 337/week @ 2022-08-28 101/week @ 2022-09-04 164/week @ 2022-09-11 113/week @ 2022-09-18 118/week @ 2022-09-25 168/week @ 2022-10-02 187/week @ 2022-10-09 86/week @ 2022-10-16 42/week @ 2022-10-23 70/week @ 2022-10-30 130/week @ 2022-11-06 102/week @ 2022-11-13 52/week @ 2022-11-20 52/week @ 2022-11-27

342 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

30KB
533 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.57 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

~0.6–1MB
~22K SLoC