rustio rustio.net
67

chacha20

v0.10.0 Growing

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.

MIT OR Apache-2.0 Edition 2024 MSRV 1.85
CryptographyNo standard library #crypto#stream-cipher#xchacha20#chacha8#chacha12

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (1.6K crates depend on it)
  • โœ“Team maintained (2 owners)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
89.0M
Dependents
1.6K
Releases
43
Size
39KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

16.4M downloads in the last 30 days (545.7K/day), up 41% from the previous period.

๐Ÿ”—
Widely adopted

1.6K crates depend on chacha20. Strong ecosystem adoption means battle-tested code and long-term stability.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 215 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 9+ years old, chacha20 hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿ“
Compact crate

At 38KB, chacha20 is lightweight. Small crate size correlates with focused, well-scoped functionality.

โš ๏ธ
Notable yanked versions

14% of releases have been yanked. Check version history before pinning.

๐ŸŒŸ
Used by top crates

Notable dependents include rand, crypto-bigint, blake3, chacha20poly1305, crypto_secretbox. When high-quality crates choose chacha20, it's a strong quality signal.

Health Breakdown

Maintenance 12/25

Recency, release consistency, active ratio

Quality 12/25

Yanked ratio, deps, size, maturity, features

Community 20/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
406K/day avg+85%
0200K400K600K800K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v0.10.0
99%
v0.10.0-rc.5
1%
v0.10.0-rc.6
0%
v0.10.0-rc.9
0%
v0.10.0-rc.10
0%

Release Timeline

10 releasessince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
3
2026
7
Less
More

Feature Flags

default =["cipher"]

rnglegacyxchacha

README

Loading README...

Maintainers

Dependencies
7
direct dependencies
Dependents
1.6K
crates depend on chacha20

Similar Crates