rustio rustio.net
72

chacha20

v0.10.1 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 19d ago)
  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (1.8K crates depend on it)
  • โœ“Team maintained (2 owners)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
126.2M
Dependents
1.8K
Releases
44
Size
38KB

Deep Insights

๐Ÿ“Š
Steady growth

23.7M downloads in the last 30 days (791.5K/day), up 18% from the previous period.

๐Ÿ”—
Widely adopted

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

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 216 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 37KB, 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, ed25519-dalek, blake3, chacha20poly1305. When high-quality crates choose chacha20, it's a strong quality signal.

Health Breakdown

Maintenance 17/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
598K/day avg-4%
0500K1.0M4/265/146/16/197/77/24

Top Dependents

Version Adoption

v0.10.0
91%
v0.10.1
9%
v0.10.0-rc.5
0%
v0.10.0-rc.6
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
2
2026
8
Less
More

Feature Flags

default =["cipher"]

rnglegacyxchacha

README

Loading README...

Maintainers

Dependencies
7
direct dependencies
Dependents
1.8K
crates depend on chacha20

Similar Crates