Decision Workspace
hmac-sha256 vs hmac-sha512 vs hmac-sha1-compact
Side-by-side comparison of Rust crates
73
hmac-sha256
stablev1.1.15
SHA256 hashing, HMAC-SHA256 authentication, and HKDF-SHA256 key derivation in pure Rust, with no_std support
70
hmac-sha512
stablev1.1.13
SHA512 and SHA384 hashing, HMAC authentication, and HKDF key derivation in pure Rust, with no_std support
67
hmac-sha1-compact
stablev1.1.8
SHA1 hashing and HMAC-SHA1 message authentication in pure Rust, with streaming APIs and no_std support
Core Metrics
| hmac-sha256 | hmac-sha512 | hmac-sha1-compact | |
|---|---|---|---|
| Health Score | 73 | 70 | 67 |
| Total Downloads | 28.3M | 24.3M | 7.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1.1K | 257 | 68 |
| Releases | 25 | 23 | 11 |
| Last Updated | 15d ago | 15d ago | 15d ago |
| Age | 7y 6m | 6y 5m | 4y 11m |
Health Breakdown
hmac-sha256
Maintenance
18
Quality
23
Community
14
Popularity
8
Documentation
10
hmac-sha512
Maintenance
17
Quality
23
Community
13
Popularity
8
Documentation
9
hmac-sha1-compact
Maintenance
16
Quality
23
Community
11
Popularity
8
Documentation
9
Technical Details
| hmac-sha256 | hmac-sha512 | hmac-sha1-compact | |
|---|---|---|---|
| Version | 1.1.15 | 1.1.13 | 1.1.8 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | ISC | ISC | ISC |
| Dependencies | 3 | 3 | 3 |
| Crate Size | 11KB | 13KB | 6KB |
| Features | 6 | 7 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hmac-sha256 leads with a health score of 73/100, but none of the options score above 80.
- •hmac-sha256 is depended on by 1.1K crates — strongest ecosystem trust.