Decision Workspace
phpass vs bcrypt vs crypt-sha512
Side-by-side comparison of Rust crates
39
phpass
growingv0.1.3
PHPass, the WordPress password hasher, re-implemented in rust
61
bcrypt
growingv0.19.3
Easily hash and verify passwords using bcrypt
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.
Core Metrics
| phpass | bcrypt | crypt-sha512 | |
|---|---|---|---|
| Health Score | 39 | 61 | 59 |
| Total Downloads | 8.3K | 20.5M | 1.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5.5K | 0 |
| Releases | 4 | 39 | 2 |
| Last Updated | 1939d ago | 75d ago | 28d ago |
| Age | 6y 3m | 10y 9m | 4m |
Health Breakdown
phpass
Maintenance
4
Quality
15
Community
3
Popularity
5
Documentation
12
bcrypt
Maintenance
15
Quality
16
Community
12
Popularity
8
Documentation
10
crypt-sha512
Maintenance
15
Quality
19
Community
6
Popularity
4
Documentation
15
Technical Details
| phpass | bcrypt | crypt-sha512 | |
|---|---|---|---|
| Version | 0.1.3 | 0.19.3 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | BSD-2-Clause |
| Dependencies | 3 | 6 | 7 |
| Crate Size | 5KB | 13KB | 20KB |
| Features | 0 | 3 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bcrypt leads with a health score of 61/100, but none of the options score above 80.
- •bcrypt is depended on by 5.5K crates — strongest ecosystem trust.
- •⚠ phpass has not been updated in over a year.
- •phpass, bcrypt are pre-1.0 — API may change.