Decision Workspace
scrypt vs sha-crypt vs pbkdf2
Side-by-side comparison of Rust crates
68
scrypt
growingv0.12.0
Scrypt password-based key derivation function
68
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
67
pbkdf2
growingv0.13.0
Generic implementation of PBKDF2
Core Metrics
| scrypt | sha-crypt | pbkdf2 | |
|---|---|---|---|
| Health Score | 68 | 68 | 67 |
| Total Downloads | 53.2M | 416.3K | 203.3M |
| 30d Downloads | 3.0M | 32.4K | 8.6M |
| Dependents | 2.7K | 150 | 7.8K |
| Releases | 37 | 16 | 38 |
| Last Updated | 82d ago | 83d ago | 83d ago |
| Age | 9y 9m | 5y 6m | 9y 4m |
Health Breakdown
scrypt
Maintenance
13
Quality
12
Community
20
Popularity
8
Documentation
15
sha-crypt
Maintenance
12
Quality
17
Community
17
Popularity
7
Documentation
15
pbkdf2
Maintenance
13
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 68/100, but none of the options score above 80.
- •pbkdf2 has the most downloads (203.3M), suggesting wider adoption.
- •pbkdf2 is depended on by 7.8K crates — strongest ecosystem trust.