#crypt #password #phc #mcf #pbkdf

no-std password-hash

Traits which describe the functionality of password hashing algorithms, as well as a no_std-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format a.k.a. MCF)

9 releases

new 0.3.2 Sep 15, 2021
0.3.0 Aug 27, 2021
0.2.2 Jul 20, 2021
0.1.2 Mar 17, 2021
0.0.0 Aug 18, 2020

#647 in Cryptography

Download history 6446/week @ 2021-05-31 8307/week @ 2021-06-07 8983/week @ 2021-06-14 7748/week @ 2021-06-21 8434/week @ 2021-06-28 9417/week @ 2021-07-05 10459/week @ 2021-07-12 11492/week @ 2021-07-19 11256/week @ 2021-07-26 9794/week @ 2021-08-02 8589/week @ 2021-08-09 8789/week @ 2021-08-16 9834/week @ 2021-08-23 10391/week @ 2021-08-30 10276/week @ 2021-09-06 12240/week @ 2021-09-13

41,399 downloads per month
Used in 14 crates (5 directly)

MIT/Apache

78KB
1.5K SLoC

RustCrypto: Password Hashing Traits

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

Traits which describe the functionality of password hashing algorithms.

Includes a no_std-friendly implementation of the PHC string format (a well-defined subset of the Modular Crypt Format a.k.a. MCF) which uses the traits this crate defines.

See RustCrypto/password-hashes for algorithm implementations which use these traits.

Documentation

Minimum Supported Rust Version

Rust 1.47 or higher.

Minimum supported Rust version may be changed in the future, but it will be accompanied by 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

~130KB