Decision Workspace
cphf vs argon2 vs pbkdf2
Side-by-side comparison of Rust crates
43
cphf
growingv1.0.0
Compile-time perfect hash function data structures
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
| cphf | argon2 | pbkdf2 | |
|---|---|---|---|
| Health Score | 43 | 72 | 71 |
| Total Downloads | 3.2K | 19.2M | 157.1M |
| 30d Downloads | 107 | 2.5M | 10.8M |
| Dependents | 1 | 7.2K | 5.8K |
| Releases | 1 | 36 | 37 |
| Last Updated | 385d ago | 6d ago | 7d ago |
| Age | 1y | 9y | 9y |
Health Breakdown
cphf
Maintenance
2
Quality
19
Community
6
Popularity
4
Documentation
12
argon2
Maintenance
18
Quality
11
Community
20
Popularity
8
Documentation
15
pbkdf2
Maintenance
18
Quality
10
Community
20
Popularity
8
Documentation
15
Technical Details
| cphf | argon2 | pbkdf2 | |
|---|---|---|---|
| Version | 1.0.0 | 0.5.3 | 0.12.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 7 | 11 |
| Crate Size | 16KB | 29KB | 14KB |
| Features | 1 | 5 | 4 |
| Yanked % | 0.0% | 30.6% | 24.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.85.0 | 1.65 | 1.60 |
| Owners | 1 | 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.
- •⚠ cphf has not been updated in over a year.
- •argon2, pbkdf2 are pre-1.0 — API may change.