#crypto #sha1 #hash #digest

no-std sha-1

SHA-1 hash function. This crate is deprecated! Use the sha1 crate instead.

22 releases

0.10.5 Nov 28, 2022
0.10.1 Nov 28, 2022
0.10.0 Dec 7, 2021
0.9.8 Aug 27, 2021
0.4.1 Jun 13, 2017

#5 in #sha-1

Download history 413140/week @ 2023-10-31 403682/week @ 2023-11-07 445072/week @ 2023-11-14 367721/week @ 2023-11-21 414026/week @ 2023-11-28 389820/week @ 2023-12-05 372730/week @ 2023-12-12 321528/week @ 2023-12-19 170010/week @ 2023-12-26 336063/week @ 2024-01-02 376240/week @ 2024-01-09 425491/week @ 2024-01-16 432846/week @ 2024-01-23 445320/week @ 2024-01-30 439521/week @ 2024-02-06 355565/week @ 2024-02-13

1,750,786 downloads per month
Used in fewer than 341 crates

MIT/Apache

23KB
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.

This crate is deprecated! Use the sha1 crate instead.

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

~285–405KB