#crypto #password #hashing

no-std sha-crypt

Pure Rust implementation of the SHA-crypt password hash based on SHA-512 as implemented by the POSIX crypt C library

7 unstable releases (3 breaking)

Uses new Rust 2021

0.4.0 Mar 18, 2022
0.3.2 Dec 7, 2021
0.3.1 Sep 18, 2021
0.3.0 Aug 28, 2021
0.1.0 Dec 28, 2020

#249 in Cryptography

Download history 232/week @ 2022-06-12 167/week @ 2022-06-19 213/week @ 2022-06-26 275/week @ 2022-07-03 130/week @ 2022-07-10 72/week @ 2022-07-17 110/week @ 2022-07-24 90/week @ 2022-07-31 120/week @ 2022-08-07 178/week @ 2022-08-14 143/week @ 2022-08-21 196/week @ 2022-08-28 154/week @ 2022-09-04 249/week @ 2022-09-11 214/week @ 2022-09-18 232/week @ 2022-09-25

855 downloads per month
Used in 2 crates

MIT/Apache

20KB
382 lines

RustCrypto: SHA-crypt password hash

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

Pure Rust implementation of the SHA-crypt password hash based on SHA-512, a legacy password hashing scheme supported by the POSIX crypt C library.

Password hashes using this algorithm start with $6$ when encoded using the PHC string format.

Documentation

Minimum Supported Rust Version

Rust 1.56 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

~290–425KB
~10K SLoC