Decision Workspace
cmac vs poly1305 vs universal-hash
Side-by-side comparison of Rust crates
63
cmac
growingv0.8.0
Generic implementation of Cipher-based Message Authentication Code
67
poly1305
growingv0.9.1
The Poly1305 universal hash function and message authentication code
63
universal-hash
growingv0.6.1
Traits which describe the functionality of universal hash functions (UHFs)
Core Metrics
| cmac | poly1305 | universal-hash | |
|---|---|---|---|
| Health Score | 63 | 67 | 63 |
| Total Downloads | 23.9M | 107.5M | 223.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 803 | 646 | 150 |
| Releases | 22 | 29 | 25 |
| Last Updated | 182d ago | 93d ago | 224d ago |
| Age | 9y 2m | 10y | 7y 1m |
Health Breakdown
cmac
Maintenance
9
Quality
12
Community
19
Popularity
8
Documentation
15
poly1305
Maintenance
11
Quality
14
Community
19
Popularity
8
Documentation
15
universal-hash
Maintenance
9
Quality
15
Community
16
Popularity
8
Documentation
15
Technical Details
| cmac | poly1305 | universal-hash | |
|---|---|---|---|
| Version | 0.8.0 | 0.9.1 | 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 | 4 | 2 |
| Crate Size | 1.1MB | 34KB | 9KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 2 (team) | 2 (team) | 3 (team) |
Links
Quick Verdict
- •poly1305 leads with a health score of 67/100, but none of the options score above 80.
- •universal-hash has the most downloads (223.6M), suggesting wider adoption.
- •cmac is depended on by 803 crates — strongest ecosystem trust.