Decision Workspace
password-hash vs crypt-sha512 vs pwhash
Side-by-side comparison of Rust crates
67
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)
59
crypt-sha512
experimentalv1.0.1
no_std SHA512-crypt ($6$) password hashing, ported from Ulrich Drepper's reference implementation. Pluggable crypto backend (aws-lc, BoringSSL, OpenSSL, or RustCrypto) selected by feature.
58
pwhash
growingv1.0.0
A collection of password hashing routines in pure Rust.
Core Metrics
| password-hash | crypt-sha512 | pwhash | |
|---|---|---|---|
| Health Score | 67 | 59 | 58 |
| Total Downloads | 133.3M | 1.4K | 5.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1.4K | 0 | 223 |
| Releases | 37 | 2 | 6 |
| Last Updated | 185d ago | 28d ago | 2105d ago |
| Age | 6y 1m | 4m | 10y 8m |
Health Breakdown
password-hash
Maintenance
11
Quality
13
Community
20
Popularity
8
Documentation
15
crypt-sha512
Maintenance
15
Quality
19
Community
6
Popularity
4
Documentation
15
pwhash
Maintenance
7
Quality
19
Community
12
Popularity
8
Documentation
12
Technical Details
| password-hash | crypt-sha512 | pwhash | |
|---|---|---|---|
| Version | 0.6.1 | 1.0.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | BSD-2-Clause | MIT |
| Dependencies | 3 | 7 | 7 |
| Crate Size | 16KB | 20KB | 24KB |
| Features | 3 | 5 | 0 |
| Yanked % | 16.2% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | 1.85 | 1.81 | — |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •password-hash leads with a health score of 67/100, but none of the options score above 80.
- •password-hash is depended on by 1.4K crates — strongest ecosystem trust.
- •⚠ pwhash has not been updated in over a year.
- •password-hash is pre-1.0 — API may change.