Decision Workspace
crypto_box vs crypto_secretstream vs crypto_kx
Side-by-side comparison of Rust crates
64
crypto_box
growingv0.9.1
Pure Rust implementation of NaCl's crypto_box public-key authenticated encryption primitive which combines the X25519 Elliptic Curve Diffie-Hellman function and the XSalsa20Poly1305 authenticated encryption cipher
56
crypto_secretstream
growingv0.2.0
Pure Rust implementation of libsodium's crypto_secretstream secret-key using ChaCha20 and Poly1305
56
crypto_kx
growingv0.2.1
Pure Rust implementation of libsodium's crypto_kx using BLAKE2
Core Metrics
| crypto_box | crypto_secretstream | crypto_kx | |
|---|---|---|---|
| Health Score | 64 | 56 | 56 |
| Total Downloads | 5.4M | 228.9K | 67.0K |
| 30d Downloads | 354.6K | 16.2K | 3.1K |
| Dependents | 514 | 16 | 14 |
| Releases | 19 | 4 | 6 |
| Last Updated | 173d ago | 979d ago | 979d ago |
| Age | 6y 1m | 4y 7m | 4y 6m |
Health Breakdown
crypto_box
Maintenance
10
Quality
13
Community
18
Popularity
8
Documentation
15
crypto_secretstream
Maintenance
6
Quality
16
Community
13
Popularity
6
Documentation
15
crypto_kx
Maintenance
5
Quality
16
Community
14
Popularity
6
Documentation
15
Technical Details
| crypto_box | crypto_secretstream | crypto_kx | |
|---|---|---|---|
| Version | 0.9.1 | 0.2.0 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 13 | 7 | 5 |
| Crate Size | 17KB | 13KB | 6KB |
| Features | 10 | 4 | 2 |
| Yanked % | 10.5% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.60 | 1.60 | 1.60 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •crypto_box leads with a health score of 64/100, but none of the options score above 80.
- •crypto_box is depended on by 514 crates — strongest ecosystem trust.
- •⚠ crypto_secretstream, crypto_kx have not been updated in over a year.