Decision Workspace
ghash vs polyval vs poly1305
Side-by-side comparison of Rust crates
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.
69
polyval
growingv0.7.1
POLYVAL is a GHASH-like universal hash over GF(2^128) useful for constructing a Message Authentication Code (MAC)
69
poly1305
growingv0.8.0
The Poly1305 universal hash function and message authentication code
Core Metrics
| ghash | polyval | poly1305 | |
|---|---|---|---|
| Health Score | 70 | 69 | 69 |
| Total Downloads | 90.5M | 100.8M | 56.8M |
| 30d Downloads | 6.7M | 7.3M | 4.6M |
| Dependents | 161 | 70 | 259 |
| Releases | 27 | 38 | 27 |
| Last Updated | 27d ago | 27d ago | 45d ago |
| Age | 9y 5m | 6y 7m | 9y 5m |
Health Breakdown
ghash
Maintenance
14
Quality
16
Community
17
Popularity
8
Documentation
15
polyval
Maintenance
16
Quality
14
Community
16
Popularity
8
Documentation
15
poly1305
Maintenance
13
Quality
15
Community
18
Popularity
8
Documentation
15
Technical Details
| ghash | polyval | poly1305 | |
|---|---|---|---|
| Version | 0.6.0 | 0.7.1 | 0.8.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 3 | 6 | 5 |
| Crate Size | 11KB | 28KB | 33KB |
| Features | 1 | 1 | 1 |
| Yanked % | 0.0% | 2.6% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.56 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •ghash leads with a health score of 70/100, but none of the options score above 80.
- •polyval has the most downloads (100.8M), suggesting wider adoption.
- •poly1305 is depended on by 259 crates — strongest ecosystem trust.