rustio rustio.net
70

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

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

Security

Checking security advisories...
Downloads
61.7M
Dependents
1.4K
Releases
43
Size
39KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

8.9M downloads in the last 30 days (297.8K/day), up 85% from the previous period.

๐Ÿ”—
Widely adopted

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

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 211 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, chacha20poly1305, crypto_secretbox, smoldot. 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
186K/day avg+137%
0100K200K300K400K12/301/172/42/223/123/29

Top Dependents

Version Adoption

v0.9.1
75%
v0.8.2
9%
v0.10.0
9%
v0.8.1
5%
v0.9.0
2%

Release Timeline

43 releases6 yankedsince 2016
J
F
M
A
M
J
J
A
S
O
N
D
2016
1
2017
2018
2019
5
2020
11
2021
6
2022
2
2023
1
2024
2
2025
8
2026
7
Less
More|
Yanked

Feature Flags

default =["cipher"]

rnglegacyxchacha

README

Loading README...

Maintainers

Dependencies
7
direct dependencies
Dependents
1.4K
crates depend on chacha20

Similar Crates