Decision Workspace
password-auth vs argon2 vs pbkdf2
Side-by-side comparison of Rust crates
70
password-auth
stablev1.0.0
Password authentication library with a focus on simplicity and ease-of-use, including support for Argon2, PBKDF2, and scrypt password hashing algorithms
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
| password-auth | argon2 | pbkdf2 | |
|---|---|---|---|
| Health Score | 70 | 72 | 71 |
| Total Downloads | 624.7K | 19.2M | 157.1M |
| 30d Downloads | 84.5K | 2.4M | 10.4M |
| Dependents | 68 | 7.2K | 5.8K |
| Releases | 11 | 36 | 37 |
| Last Updated | 75d ago | 6d ago | 7d ago |
| Age | 3y 4m | 9y | 9y |
Health Breakdown
password-auth
Maintenance
14
Quality
18
Community
16
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
| password-auth | argon2 | pbkdf2 | |
|---|---|---|---|
| Version | 1.0.0 | 0.5.3 | 0.12.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 7 | 11 |
| Crate Size | 10KB | 29KB | 14KB |
| Features | 2 | 5 | 4 |
| Yanked % | 9.1% | 30.6% | 24.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65 | 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.
- •argon2, pbkdf2 are pre-1.0 — API may change.