Decision Workspace
cphf vs scrypt vs sha-crypt
Side-by-side comparison of Rust crates
43
cphf
growingv1.0.0
Compile-time perfect hash function data structures
71
scrypt
growingv0.12.0
Scrypt password-based key derivation function
71
sha-crypt
growingv0.6.0
Pure Rust implementation of the SHA-crypt password hashing algorithm based on SHA-256/SHA-512 as implemented by the POSIX crypt C library, including support for generating and verifying password hash strings in the Modular Crypt Format
Core Metrics
| cphf | scrypt | sha-crypt | |
|---|---|---|---|
| Health Score | 43 | 71 | 71 |
| Total Downloads | 3.5K | 44.8M | 348.1K |
| 30d Downloads | 0 | 4.5M | 33.2K |
| Dependents | 1 | 2.4K | 123 |
| Releases | 1 | 37 | 16 |
| Last Updated | 444d ago | 33d ago | 34d ago |
| Age | 1y 2m | 9y 7m | 5y 4m |
Health Breakdown
cphf
Maintenance
2
Quality
19
Community
6
Popularity
4
Documentation
12
scrypt
Maintenance
16
Quality
12
Community
20
Popularity
8
Documentation
15
sha-crypt
Maintenance
15
Quality
17
Community
17
Popularity
7
Documentation
15
Technical Details
| cphf | scrypt | sha-crypt | |
|---|---|---|---|
| Version | 1.0.0 | 0.12.0 | 0.6.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 9 | 5 |
| Crate Size | 16KB | 25KB | 19KB |
| Features | 1 | 7 | 5 |
| Yanked % | 0.0% | 16.2% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.85.0 | 1.85 | 1.85 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •scrypt leads with a health score of 71/100, but none of the options score above 80.
- •scrypt is depended on by 2.4K crates — strongest ecosystem trust.
- •⚠ cphf has not been updated in over a year.
- •scrypt, sha-crypt are pre-1.0 — API may change.