Decision Workspace
poly1305 vs cmac vs ghash
Side-by-side comparison of Rust crates
69
poly1305
growingv0.8.0
The Poly1305 universal hash function and message authentication code
73
cmac
growingv0.7.2
Generic implementation of Cipher-based Message Authentication Code
70
ghash
growingv0.6.0
Universal hash over GF(2^128) useful for constructing a Message Authentication Code (MAC), as in the AES-GCM authenticated encryption cipher.
Core Metrics
| poly1305 | cmac | ghash | |
|---|---|---|---|
| Health Score | 69 | 73 | 70 |
| Total Downloads | 56.8M | 13.5M | 90.5M |
| 30d Downloads | 4.6M | 1.7M | 6.7M |
| Dependents | 259 | 344 | 161 |
| Releases | 27 | 21 | 27 |
| Last Updated | 45d ago | 2d ago | 27d ago |
| Age | 9y 5m | 8y 8m | 9y 5m |
Health Breakdown
poly1305
Maintenance
13
Quality
15
Community
18
Popularity
8
Documentation
15
cmac
Maintenance
17
Quality
15
Community
18
Popularity
8
Documentation
15
ghash
Maintenance
14
Quality
16
Community
17
Popularity
8
Documentation
15
Technical Details
| poly1305 | cmac | ghash | |
|---|---|---|---|
| Version | 0.8.0 | 0.7.2 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 5 | 9 | 3 |
| Crate Size | 33KB | 45KB | 11KB |
| Features | 1 | 2 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.56 | 1.56 | 1.85 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •cmac leads with a health score of 73/100, but none of the options score above 80.
- •ghash has the most downloads (90.5M), suggesting wider adoption.
- •cmac is depended on by 344 crates — strongest ecosystem trust.