Rust crate alternatives · data Oct 24, 2026
Alternatives to sha-1
Short answerThe closest alternatives to sha-1 on crates.io data are sha1 (2M real downloads a day), sha2 (3.5M real downloads a day), hmac (2.1M real downloads a day). Of the 8 we list, the most used is sha2, and 7 shipped a release in the last year. sha-1 itself gets 196,391 a day with 313 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs sha-1 | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| sha1 Widely used | 2,004,209 | 10.21x | 2,496 | 3mo | category Cryptography, category No standard library, keyword "crypto", keyword "digest" | side by side |
| sha2 Foundational | 3,510,276 | 17.87x | 22,608 | 12d | category Cryptography, category No standard library, keyword "digest", keyword "hash" | compare |
| hmac Widely used | 2,124,794 | 10.82x | 4,359 | 7mo | category Cryptography, category No standard library, keyword "crypto", keyword "digest" | compare |
| md-5 Widely used | 1,344,840 | 6.85x | 1,435 | 7mo | category Cryptography, category No standard library, keyword "digest", keyword "hash" | compare |
| tiny-keccak Established | 680,461 | 3.46x | 457 | 6.6y | category Cryptography, category No standard library, keyword "crypto", keyword "hash" | compare |
| sha3 Widely used | 573,618 | 2.92x | 1,767 | 5mo | category Cryptography, category No standard library, keyword "digest", keyword "hash" | compare |
| blake2 Established | 502,276 | 2.56x | 839 | 59d | category Cryptography, category No standard library, keyword "digest", keyword "hash" | compare |
| md5 Widely used | 483,598 | 2.46x | 1,213 | 4mo | category Cryptography, keyword "digest", keyword "hash" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with sha-1; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For sha-1: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with sha-1, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Widely used and steady. 2,004,209 real downloads a day.sha1Rust crate. SHA-1 hash function. Real use: 2M downloads a day on quiet days; 2,496 crates depend on it.Read it next →Also worth your time