# chacha20 (crates.io)

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.

- Latest: 0.10.2 (2026-08-27)
- Licence: MIT OR Apache-2.0
- Downloads: 251201465 last 90 days
- Advisories on the latest version: 0

- CVE-2019-25005 HIGH: Counter overflow in chacha20 Fixed in 0.2.3.
- CVE-2019-25005 : ChaCha20 counter overflow can expose repetitions in the keystream Fixed in 0.2.3.

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
