Decision Workspace
scrypt vs sha-crypt vs pbkdf2
Side-by-side comparison of Rust crates
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
70
pbkdf2
growingv0.13.0
Generic implementation of PBKDF2
Core Metrics
| scrypt | sha-crypt | pbkdf2 | |
|---|---|---|---|
| Health Score | 71 | 71 | 70 |
| Total Downloads | 44.8M | 348.1K | 179.8M |
| 30d Downloads | 4.5M | 33.2K | 12.5M |
| Dependents | 2.4K | 123 | 6.9K |
| Releases | 37 | 16 | 38 |
| Last Updated | 33d ago | 34d ago | 34d ago |
| Age | 9y 7m | 5y 4m | 9y 2m |
Health Breakdown
scrypt
Maintenance
16
Quality
12
Community
20
Popularity
8
Documentation
15
sha-crypt
Maintenance
15
Quality
17
Community
17
Popularity
7
Documentation
15
pbkdf2
Maintenance
16
Quality
11
Community
20
Popularity
8
Documentation
15
Technical Details
| scrypt | sha-crypt | pbkdf2 | |
|---|---|---|---|
| Version | 0.12.0 | 0.6.0 | 0.13.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 9 | 5 | 12 |
| Crate Size | 25KB | 19KB | 23KB |
| Features | 7 | 5 | 8 |
| Yanked % | 16.2% | 0.0% | 23.7% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •scrypt leads with a health score of 71/100, but none of the options score above 80.
- •pbkdf2 has the most downloads (179.8M), suggesting wider adoption.
- •pbkdf2 is depended on by 6.9K crates — strongest ecosystem trust.