rustio rustio.net
70

chacha20

v0.10.2 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

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

Security

Checking security advisories...
Downloads
266.7M
Dependents
2.4K
Releases
45
Size
38KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

59.6M downloads in the last 30 days (2.0M/day), up 28% from the previous period.

๐Ÿ”—
Widely adopted

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

๐Ÿ‘ค
Prolific maintainer

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

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿ“
Compact crate

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

โš ๏ธ
Notable yanked versions

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

๐ŸŒŸ
Used by top crates

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

Health Breakdown

Maintenance 15/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
484K/day avg-100%
01.0M2.0M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v0.10.2
100%
v0.10.0-rc.6
0%
v0.10.0-rc.10
0%
v0.10.0-rc.9
0%
v0.10.0-rc.8
0%

Release Timeline

10 releases2 yankedsince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
1
2026
9
Less
More|
Yanked

Feature Flags

default =["cipher"]

rnglegacyxchacha

README

Loading README...

Maintainers

Dependencies
7
direct dependencies
Dependents
2.4K
crates depend on chacha20

Similar Crates