Decision Workspace
crypto-mac vs poly1305 vs hmac
Side-by-side comparison of Rust crates
52
crypto-mac
growingv0.11.1
Trait for Message Authentication Code (MAC) algorithms
70
poly1305
growingv0.9.0
The Poly1305 universal hash function and message authentication code
67
hmac
growingv0.13.0
Generic implementation of Hash-based Message Authentication Code (HMAC)
Core Metrics
| crypto-mac | poly1305 | hmac | |
|---|---|---|---|
| Health Score | 52 | 70 | 67 |
| Total Downloads | 123.4M | 65.6M | 401.5M |
| 30d Downloads | 6.4M | 5.0M | 32.6M |
| Dependents | 653 | 419 | 26.6K |
| Releases | 20 | 28 | 38 |
| Last Updated | 1770d ago | 15d ago | 57d ago |
| Age | 9y 7m | 9y 7m | 9y 7m |
Health Breakdown
crypto-mac
Maintenance
4
Quality
10
Community
18
Popularity
8
Documentation
12
poly1305
Maintenance
15
Quality
14
Community
18
Popularity
8
Documentation
15
hmac
Maintenance
15
Quality
9
Community
20
Popularity
8
Documentation
15
Technical Details
| crypto-mac | poly1305 | hmac | |
|---|---|---|---|
| Version | 0.11.1 | 0.9.0 | 0.13.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 4 | 7 |
| Crate Size | 10KB | 34KB | 45KB |
| Features | 2 | 0 | 1 |
| Yanked % | 50.0% | 0.0% | 34.2% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •poly1305 leads with a health score of 70/100, but none of the options score above 80.
- •hmac has the most downloads (401.5M), suggesting wider adoption.
- •hmac is depended on by 26.6K crates — strongest ecosystem trust.
- •⚠ crypto-mac has not been updated in over a year.