Decision Workspace
sha2 vs sha2raw vs sha2ni
Side-by-side comparison of Rust crates
71
sha2
growingv0.11.0
Pure Rust implementation of the SHA-2 hash function family including SHA-224, SHA-256, SHA-384, and SHA-512.
74
sha2raw
stablev14.1.0
SHA-2 hash function
52
sha2ni
growingv0.8.5
SHA-2 hash functions
Core Metrics
| sha2 | sha2raw | sha2ni | |
|---|---|---|---|
| Health Score | 71 | 74 | 52 |
| Total Downloads | 529.2M | 476.8K | 73.8K |
| 30d Downloads | 41.3M | 14.0K | 1.4K |
| Dependents | 100.8K | 107 | 38 |
| Releases | 50 | 31 | 5 |
| Last Updated | 2d ago | 18d ago | 2160d ago |
| Age | 9y 10m | 5y 10m | 6y 1m |
Health Breakdown
sha2
Maintenance
18
Quality
10
Community
20
Popularity
8
Documentation
15
sha2raw
Maintenance
18
Quality
20
Community
17
Popularity
7
Documentation
12
sha2ni
Maintenance
6
Quality
15
Community
14
Popularity
6
Documentation
11
Technical Details
| sha2 | sha2raw | sha2ni | |
|---|---|---|---|
| Version | 0.11.0 | 14.1.0 | 0.8.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 10 | 10 |
| Crate Size | 34KB | 11KB | 23KB |
| Features | 4 | 2 | 4 |
| Yanked % | 30.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | — |
| MSRV | 1.85 | — | — |
| Owners | 3 (team) | 2 (team) | 4 |
Links
Quick Verdict
- •sha2raw leads with a health score of 74/100, but none of the options score above 80.
- •sha2 has the most downloads (529.2M), suggesting wider adoption.
- •sha2 is depended on by 100.8K crates — strongest ecosystem trust.
- •⚠ sha2ni has not been updated in over a year.
- •sha2, sha2ni are pre-1.0 — API may change.