Decision Workspace
password-hash vs pwhash vs hsh
Side-by-side comparison of Rust crates
69
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.
55
hsh
growingv0.0.10
Enterprise password hashing for Rust: Argon2id / bcrypt / scrypt / PBKDF2 with PHC strings, KMS-backed pepper, and FIPS 140-3 routing through aws-lc-rs (CMVP Cert #4759).
Core Metrics
| password-hash | pwhash | hsh | |
|---|---|---|---|
| Health Score | 69 | 58 | 55 |
| Total Downloads | 95.7M | 4.1M | 13.0K |
| 30d Downloads | 5.4M | 157.6K | 0 |
| Dependents | 1.1K | 186 | 6 |
| Releases | 37 | 6 | 10 |
| Last Updated | 97d ago | 2017d ago | 47d ago |
| Age | 5y 11m | 10y 5m | 3y 5m |
Health Breakdown
password-hash
Maintenance
14
Quality
13
Community
19
Popularity
8
Documentation
15
pwhash
Maintenance
7
Quality
19
Community
12
Popularity
8
Documentation
12
hsh
Maintenance
13
Quality
14
Community
8
Popularity
5
Documentation
15
Technical Details
| password-hash | pwhash | hsh | |
|---|---|---|---|
| Version | 0.6.1 | 1.0.0 | 0.0.10 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 7 | 23 |
| Crate Size | 16KB | 24KB | 78KB |
| 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 69/100, but none of the options score above 80.
- •password-hash is depended on by 1.1K crates — strongest ecosystem trust.
- •⚠ pwhash has not been updated in over a year.
- •password-hash, hsh are pre-1.0 — API may change.