#crypto #sha1 #hash #digest

no-std sha1

SHA-1 hash function

21 releases

0.10.5 Sep 16, 2022
0.10.2 Aug 30, 2022
0.10.1 Feb 17, 2022
0.6.0 Feb 11, 2018
0.0.3 Nov 21, 2014

#23 in Cryptography

Download history 329239/week @ 2022-08-17 312984/week @ 2022-08-24 363743/week @ 2022-08-31 411020/week @ 2022-09-07 406727/week @ 2022-09-14 447480/week @ 2022-09-21 444811/week @ 2022-09-28 473659/week @ 2022-10-05 503358/week @ 2022-10-12 503771/week @ 2022-10-19 438465/week @ 2022-10-26 476003/week @ 2022-11-02 479501/week @ 2022-11-09 481164/week @ 2022-11-16 407270/week @ 2022-11-23 396448/week @ 2022-11-30

1,852,329 downloads per month
Used in 4,697 crates (216 directly)

MIT/Apache

21KB
427 lines

RustCrypto: SHA-1

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

Pure Rust implementation of the SHA-1 hash function.

Documentation

🚨 Warning: Cryptographically Broken 🚨

The SHA-1 hash function should be considered cryptographically broken and unsuitable for further use in any security critical capacity, as it is practically vulnerable to chosen-prefix collisions.

We provide this crate for legacy interoperability purposes only.

Minimum Supported Rust Version

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

~245–350KB