Decision Workspace
password-hash vs pwhash vs hsh
Side-by-side comparison of Rust crates
71
password-hash
growingv0.6.1
Traits which describe the functionality of password hashing algorithms, with optional support for a `no_std`/`no_alloc`-friendly implementation of the PHC string format, as well as generic support for other formats (e.g. Modular Crypt Format)
58
pwhash
growingv1.0.0
A collection of password hashing routines in pure Rust.
58
hsh
growingv0.0.9
Enterprise password hashing for Rust: Argon2i / bcrypt / scrypt today, Argon2id / PHC / KMS / FIPS on the v0.1 roadmap.
Core Metrics
| password-hash | pwhash | hsh | |
|---|---|---|---|
| Health Score | 71 | 58 | 58 |
| Total Downloads | 80.0M | 3.7M | 12.9K |
| 30d Downloads | 9.7M | 273.6K | 0 |
| Dependents | 976 | 179 | 5 |
| Releases | 37 | 6 | 9 |
| Last Updated | 48d ago | 1968d ago | 1d ago |
| Age | 5y 9m | 10y 3m | 3y 3m |
Health Breakdown
password-hash
Maintenance
16
Quality
13
Community
19
Popularity
8
Documentation
15
pwhash
Maintenance
7
Quality
19
Community
12
Popularity
8
Documentation
12
hsh
Maintenance
16
Quality
14
Community
8
Popularity
5
Documentation
15
Technical Details
| password-hash | pwhash | hsh | |
|---|---|---|---|
| Version | 0.6.1 | 1.0.0 | 0.0.9 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 7 | 22 |
| Crate Size | 16KB | 24KB | 76KB |
| Features | 3 | 0 | 4 |
| Yanked % | 16.2% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | 1.85 | — | 1.75 |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •password-hash leads with a health score of 71/100, but none of the options score above 80.
- •password-hash is depended on by 976 crates — strongest ecosystem trust.
- •⚠ pwhash has not been updated in over a year.
- •password-hash, hsh are pre-1.0 — API may change.