|1.0.0||Jan 16, 2022|
#583 in Cryptography
459,033 downloads per month
Used in 1,252 crates (11 directly)
Minimal and dependency free implementation of SHA1 for Rust.
SHA1 is not exactly a good choice for crypto hashes these days but unfortunately SHA1 continues to be needed for a handful of situations due to legacy functionality. If you have the need for a SHA1 implementation that does not pull in large dependency chains you might want to consider this crate.
In all other cases use the new
by the RustCrypto project instead.
This crate used to be published as
sha1 but in recent years a large ecosystem
of hash libraries was built around
so the crate name was given to that project instead. Versions newer than
This is largely based on the hash code in crypto-rs by Koka El Kiwi.
License and Links