Decision Workspace
cmac vs poly1305 vs hmac
Side-by-side comparison of Rust crates
67
cmac
growingv0.8.0
Generic implementation of Cipher-based Message Authentication Code
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
| cmac | poly1305 | hmac | |
|---|---|---|---|
| Health Score | 67 | 70 | 67 |
| Total Downloads | 15.7M | 65.6M | 401.5M |
| 30d Downloads | 1.2M | 5.0M | 32.6M |
| Dependents | 534 | 419 | 26.6K |
| Releases | 22 | 28 | 38 |
| Last Updated | 45d ago | 15d ago | 57d ago |
| Age | 8y 10m | 9y 7m | 9y 7m |
Health Breakdown
cmac
Maintenance
14
Quality
12
Community
18
Popularity
8
Documentation
15
poly1305
Maintenance
15
Quality
14
Community
18
Popularity
8
Documentation
15
hmac
Maintenance
15
Quality
9
Community
20
Popularity
8
Documentation
15
Technical Details
| cmac | poly1305 | hmac | |
|---|---|---|---|
| Version | 0.8.0 | 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 | 9 | 4 | 7 |
| Crate Size | 1.1MB | 34KB | 45KB |
| Features | 1 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 34.2% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 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.