Decision Workspace
hmac-sha256 vs hmac-sha512 vs ahsah
Side-by-side comparison of Rust crates
68
hmac-sha256
stablev1.1.14
A small, self-contained SHA256, HMAC-SHA256, and HKDF-SHA256 implementation
65
hmac-sha512
stablev1.1.12
A small, self-contained SHA512, HMAC-SHA512, HKDF-SHA512, SHA384, HMAC-SHA384, and HKDF-SHA384 implementation
59
ahsah
stablev2.1.0
Incremental hashing contexts for MD5 and SHA-2 with reader helpers and optional SIMD decode paths
Core Metrics
| hmac-sha256 | hmac-sha512 | ahsah | |
|---|---|---|---|
| Health Score | 68 | 65 | 59 |
| Total Downloads | 18.1M | 19.7M | 9.7K |
| 30d Downloads | 1.3M | 730.7K | 0 |
| Dependents | 999 | 223 | 0 |
| Releases | 24 | 22 | 9 |
| Last Updated | 101d ago | 101d ago | 40d ago |
| Age | 7y 1m | 6y | 2y 1m |
Health Breakdown
hmac-sha256
Maintenance
13
Quality
23
Community
14
Popularity
8
Documentation
10
hmac-sha512
Maintenance
13
Quality
23
Community
12
Popularity
8
Documentation
9
ahsah
Maintenance
16
Quality
22
Community
6
Popularity
5
Documentation
10
Technical Details
| hmac-sha256 | hmac-sha512 | ahsah | |
|---|---|---|---|
| Version | 1.1.14 | 1.1.12 | 2.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | ISC | ISC | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 2 |
| Crate Size | 11KB | 13KB | 22KB |
| Features | 6 | 7 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hmac-sha256 leads with a health score of 68/100, but none of the options score above 80.
- •hmac-sha512 has the most downloads (19.7M), suggesting wider adoption.
- •hmac-sha256 is depended on by 999 crates — strongest ecosystem trust.