Decision Workspace
sha-crypt vs argon2 vs pbkdf2
Side-by-side comparison of Rust crates
69
sha-crypt
growingv0.5.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
72
argon2
growingv0.5.3
Pure Rust implementation of the Argon2 password hashing function with support for the Argon2d, Argon2i, and Argon2id algorithmic variants
71
pbkdf2
growingv0.12.2
Generic implementation of PBKDF2
Core Metrics
| sha-crypt | argon2 | pbkdf2 | |
|---|---|---|---|
| Health Score | 69 | 72 | 71 |
| Total Downloads | 283.0K | 19.2M | 157.1M |
| 30d Downloads | 24.5K | 2.5M | 10.8M |
| Dependents | 117 | 7.2K | 5.8K |
| Releases | 15 | 36 | 37 |
| Last Updated | 53d ago | 6d ago | 7d ago |
| Age | 5y 3m | 9y | 9y |
Health Breakdown
sha-crypt
Maintenance
14
Quality
16
Community
17
Popularity
7
Documentation
15
argon2
Maintenance
18
Quality
11
Community
20
Popularity
8
Documentation
15
pbkdf2
Maintenance
18
Quality
10
Community
20
Popularity
8
Documentation
15
Technical Details
| sha-crypt | argon2 | pbkdf2 | |
|---|---|---|---|
| Version | 0.5.0 | 0.5.3 | 0.12.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 7 | 11 |
| Crate Size | 15KB | 29KB | 14KB |
| Features | 3 | 5 | 4 |
| Yanked % | 0.0% | 30.6% | 24.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.60 | 1.65 | 1.60 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •argon2 leads with a health score of 72/100, but none of the options score above 80.
- •pbkdf2 has the most downloads (157.1M), suggesting wider adoption.
- •argon2 is depended on by 7.2K crates — strongest ecosystem trust.