Decision Workspace
sha2-asm vs sha2raw vs hmac-sha512
Side-by-side comparison of Rust crates
56
sha2-asm
growingv0.6.4
Assembly implementation of SHA-2 compression functions
74
sha2raw
stablev14.1.0
SHA-2 hash function
67
hmac-sha512
stablev1.1.12
A small, self-contained SHA512, HMAC-SHA512, HKDF-SHA512, SHA384, HMAC-SHA384, and HKDF-SHA384 implementation
Core Metrics
| sha2-asm | sha2raw | hmac-sha512 | |
|---|---|---|---|
| Health Score | 56 | 74 | 67 |
| Total Downloads | 13.3M | 476.8K | 18.4M |
| 30d Downloads | 1.1M | 13.9K | 518.0K |
| Dependents | 87 | 107 | 209 |
| Releases | 16 | 31 | 22 |
| Last Updated | 689d ago | 18d ago | 42d ago |
| Age | 8y 10m | 5y 10m | 5y 11m |
Health Breakdown
sha2-asm
Maintenance
5
Quality
15
Community
16
Popularity
8
Documentation
12
sha2raw
Maintenance
18
Quality
20
Community
17
Popularity
7
Documentation
12
hmac-sha512
Maintenance
15
Quality
23
Community
12
Popularity
8
Documentation
9
Technical Details
| sha2-asm | sha2raw | hmac-sha512 | |
|---|---|---|---|
| Version | 0.6.4 | 14.1.0 | 1.1.12 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | ISC |
| Dependencies | 1 | 10 | 3 |
| Crate Size | 13KB | 11KB | 13KB |
| Features | 0 | 2 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 2 (team) | 2 (team) | 1 |
Links
Quick Verdict
- •sha2raw leads with a health score of 74/100, but none of the options score above 80.
- •hmac-sha512 has the most downloads (18.4M), suggesting wider adoption.
- •hmac-sha512 is depended on by 209 crates — strongest ecosystem trust.
- •⚠ sha2-asm has not been updated in over a year.
- •sha2-asm is pre-1.0 — API may change.