Decision Workspace
rok-crypto vs argon2 vs scrypt
Side-by-side comparison of Rust crates
43
rok-crypto
experimentalv0.6.0
Pure cryptographic primitives — encryption, password hashing, ID generation, TOTP, JWT, password policies, and secure random utilities
69
argon2
growingv0.6.0
Pure Rust implementation of the Argon2 password hashing function with support for the Argon2d, Argon2i, and Argon2id algorithmic variants
65
scrypt
growingv0.12.0
Scrypt password-based key derivation function
Core Metrics
| rok-crypto | argon2 | scrypt | |
|---|---|---|---|
| Health Score | 43 | 69 | 65 |
| Total Downloads | 38 | 60.9M | 74.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 17.2K | 3.1K |
| Releases | 2 | 37 | 37 |
| Last Updated | 141d ago | 43d ago | 170d ago |
| Age | 4m | 9y 7m | 10y |
Health Breakdown
rok-crypto
Maintenance
10
Quality
15
Community
6
Popularity
2
Documentation
10
argon2
Maintenance
15
Quality
11
Community
20
Popularity
8
Documentation
15
scrypt
Maintenance
10
Quality
12
Community
20
Popularity
8
Documentation
15
Technical Details
| rok-crypto | argon2 | scrypt | |
|---|---|---|---|
| Version | 0.6.0 | 0.6.0 | 0.12.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 19 | 8 | 9 |
| Crate Size | 37KB | 35KB | 25KB |
| Features | 19 | 8 | 7 |
| Yanked % | 0.0% | 29.7% | 16.2% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •argon2 leads with a health score of 69/100, but none of the options score above 80.
- •scrypt has the most downloads (74.6M), suggesting wider adoption.
- •argon2 is depended on by 17.2K crates — strongest ecosystem trust.