Decision Workspace
hmac-sha1-compact vs hmac-sha512 vs sha-1
Side-by-side comparison of Rust crates
63
hmac-sha1-compact
stablev1.1.7
A small, self-contained SHA1 and HMAC-SHA1 implementation
67
hmac-sha512
stablev1.1.12
A small, self-contained SHA512, HMAC-SHA512, HKDF-SHA512, SHA384, HMAC-SHA384, and HKDF-SHA384 implementation
58
sha-1
growingv0.10.1
SHA-1 hash function. This crate is deprecated! Use the sha1 crate instead.
Core Metrics
| hmac-sha1-compact | hmac-sha512 | sha-1 | |
|---|---|---|---|
| Health Score | 63 | 67 | 58 |
| Total Downloads | 4.4M | 18.4M | 132.9M |
| 30d Downloads | 147.3K | 539.2K | 4.9M |
| Dependents | 42 | 209 | 6.7K |
| Releases | 10 | 22 | 24 |
| Last Updated | 65d ago | 42d ago | 1215d ago |
| Age | 4y 5m | 5y 11m | 8y 11m |
Health Breakdown
hmac-sha1-compact
Maintenance
13
Quality
23
Community
10
Popularity
8
Documentation
9
hmac-sha512
Maintenance
15
Quality
23
Community
12
Popularity
8
Documentation
9
sha-1
Maintenance
4
Quality
14
Community
20
Popularity
8
Documentation
12
Technical Details
| hmac-sha1-compact | hmac-sha512 | sha-1 | |
|---|---|---|---|
| Version | 1.1.7 | 1.1.12 | 0.10.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | ISC | ISC | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 6 |
| Crate Size | 6KB | 13KB | 12KB |
| Features | 5 | 7 | 6 |
| Yanked % | 0.0% | 0.0% | 8.3% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •hmac-sha512 leads with a health score of 67/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.
- •⚠ sha-1 has not been updated in over a year.
- •sha-1 is pre-1.0 — API may change.