Decision Workspace
chacha20 vs ctr vs salsa20
Side-by-side comparison of Rust crates
70
chacha20
growingv0.10.0
The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits from the RustCrypto `cipher` crate, with optional architecture-specific hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12, XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional rand_core-compatible RNGs based on those ciphers.
75
ctr
growingv0.9.2
CTR block modes of operation
71
salsa20
growingv0.10.2
Pure Rust implementation of the Salsa20 stream cipher
Core Metrics
| chacha20 | ctr | salsa20 | |
|---|---|---|---|
| Health Score | 70 | 75 | 71 |
| Total Downloads | 61.7M | 121.8M | 49.9M |
| 30d Downloads | 8.4M | 8.5M | 4.3M |
| Dependents | 1.4K | 2.1K | 368 |
| Releases | 43 | 26 | 25 |
| Last Updated | 48d ago | 29d ago | 49d ago |
| Age | 9y 5m | 7y 8m | 9y 5m |
Health Breakdown
chacha20
Maintenance
15
Quality
12
Community
20
Popularity
8
Documentation
15
ctr
Maintenance
16
Quality
16
Community
20
Popularity
8
Documentation
15
salsa20
Maintenance
13
Quality
17
Community
18
Popularity
8
Documentation
15
Technical Details
| chacha20 | ctr | salsa20 | |
|---|---|---|---|
| Version | 0.10.0 | 0.9.2 | 0.10.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 6 | 3 |
| Crate Size | 39KB | 18KB | 13KB |
| Features | 4 | 4 | 2 |
| Yanked % | 14.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85 | 1.56 | 1.56 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •ctr leads with a health score of 75/100, but none of the options score above 80.
- •ctr is depended on by 2.1K crates — strongest ecosystem trust.