Decision Workspace
cmac vs poly1305 vs universal-hash
Side-by-side comparison of Rust crates
73
cmac
growingv0.7.2
Generic implementation of Cipher-based Message Authentication Code
69
poly1305
growingv0.8.0
The Poly1305 universal hash function and message authentication code
69
universal-hash
growingv0.6.1
Traits which describe the functionality of universal hash functions (UHFs)
Core Metrics
| cmac | poly1305 | universal-hash | |
|---|---|---|---|
| Health Score | 73 | 69 | 69 |
| Total Downloads | 13.5M | 56.8M | 118.2M |
| 30d Downloads | 1.7M | 4.6M | 9.0M |
| Dependents | 344 | 259 | 103 |
| Releases | 21 | 27 | 25 |
| Last Updated | 2d ago | 45d ago | 28d ago |
| Age | 8y 8m | 9y 5m | 6y 7m |
Health Breakdown
cmac
Maintenance
17
Quality
15
Community
18
Popularity
8
Documentation
15
poly1305
Maintenance
13
Quality
15
Community
18
Popularity
8
Documentation
15
universal-hash
Maintenance
16
Quality
15
Community
15
Popularity
8
Documentation
15
Technical Details
| cmac | poly1305 | universal-hash | |
|---|---|---|---|
| Version | 0.7.2 | 0.8.0 | 0.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 9 | 5 | 2 |
| Crate Size | 45KB | 33KB | 9KB |
| Features | 2 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.56 | 1.56 | 1.85 |
| Owners | 2 (team) | 2 (team) | 3 (team) |
Links
Quick Verdict
- •cmac leads with a health score of 73/100, but none of the options score above 80.
- •universal-hash has the most downloads (118.2M), suggesting wider adoption.
- •cmac is depended on by 344 crates — strongest ecosystem trust.