Decision Workspace
sha256-rs vs hmac-sha256 vs hashes
Side-by-side comparison of Rust crates
53
sha256-rs
growingv1.0.3
Implementation of the SHA256 hash made using Rust
70
hmac-sha256
stablev1.1.14
A small, self-contained SHA256, HMAC-SHA256, and HKDF-SHA256 implementation
48
hashes
growingv0.1.9
Rust implementation of cryptographic hash function algorithms
Core Metrics
| sha256-rs | hmac-sha256 | hashes | |
|---|---|---|---|
| Health Score | 53 | 70 | 48 |
| Total Downloads | 10.6K | 15.7M | 57.5K |
| 30d Downloads | 154 | 1.2M | 2.3K |
| Dependents | 33 | 918 | 3 |
| Releases | 5 | 24 | 10 |
| Last Updated | 146d ago | 42d ago | 1175d ago |
| Age | 2y 11m | 6y 11m | 3y 2m |
Health Breakdown
sha256-rs
Maintenance
9
Quality
21
Community
9
Popularity
5
Documentation
9
hmac-sha256
Maintenance
15
Quality
23
Community
14
Popularity
8
Documentation
10
hashes
Maintenance
9
Quality
18
Community
5
Popularity
6
Documentation
10
Technical Details
| sha256-rs | hmac-sha256 | hashes | |
|---|---|---|---|
| Version | 1.0.3 | 1.1.14 | 0.1.9 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | GPL-3.0 | ISC | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 0 |
| Crate Size | 16KB | 11KB | 19KB |
| Features | 0 | 6 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hmac-sha256 leads with a health score of 70/100, but none of the options score above 80.
- •hmac-sha256 is depended on by 918 crates — strongest ecosystem trust.
- •⚠ hashes has not been updated in over a year.
- •hashes is pre-1.0 — API may change.