Decision Workspace
sha1-asm vs hmac-sha1-compact vs sha-1
Side-by-side comparison of Rust crates
55
sha1-asm
growingv0.5.3
Assembly implementation of SHA-1 compression function
63
hmac-sha1-compact
stablev1.1.7
A small, self-contained SHA1 and HMAC-SHA1 implementation
58
sha-1
growingv0.10.1
SHA-1 hash function. This crate is deprecated! Use the sha1 crate instead.
Core Metrics
| sha1-asm | hmac-sha1-compact | sha-1 | |
|---|---|---|---|
| Health Score | 55 | 63 | 58 |
| Total Downloads | 2.6M | 4.4M | 132.9M |
| 30d Downloads | 55.9K | 141.3K | 4.7M |
| Dependents | 40 | 42 | 6.7K |
| Releases | 13 | 10 | 24 |
| Last Updated | 689d ago | 65d ago | 1215d ago |
| Age | 8y 10m | 4y 5m | 8y 11m |
Health Breakdown
sha1-asm
Maintenance
5
Quality
15
Community
15
Popularity
8
Documentation
12
hmac-sha1-compact
Maintenance
13
Quality
23
Community
10
Popularity
8
Documentation
9
sha-1
Maintenance
4
Quality
14
Community
20
Popularity
8
Documentation
12
Technical Details
| sha1-asm | hmac-sha1-compact | sha-1 | |
|---|---|---|---|
| Version | 0.5.3 | 1.1.7 | 0.10.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | ISC | MIT OR Apache-2.0 |
| Dependencies | 1 | 3 | 6 |
| Crate Size | 6KB | 6KB | 12KB |
| Features | 0 | 5 | 6 |
| Yanked % | 0.0% | 0.0% | 8.3% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 2 (team) | 1 | 2 (team) |
Links
Quick Verdict
- •hmac-sha1-compact leads with a health score of 63/100, but none of the options score above 80.
- •sha-1 has the most downloads (132.9M), suggesting wider adoption.
- •sha-1 is depended on by 6.7K crates — strongest ecosystem trust.
- •⚠ sha1-asm, sha-1 have not been updated in over a year.
- •sha1-asm, sha-1 are pre-1.0 — API may change.