#digest #hash #crypto

deprecated 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

#119 in #digest

Download history 448813/week @ 2024-07-21 429228/week @ 2024-07-28 412239/week @ 2024-08-04 480950/week @ 2024-08-11 421801/week @ 2024-08-18 452188/week @ 2024-08-25 423886/week @ 2024-09-01 415527/week @ 2024-09-08 345507/week @ 2024-09-15 403622/week @ 2024-09-22 425318/week @ 2024-09-29 392958/week @ 2024-10-06 439855/week @ 2024-10-13 448637/week @ 2024-10-20 438072/week @ 2024-10-27 418068/week @ 2024-11-03

1,765,696 downloads per month
Used in fewer than 336 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

~290–425KB