Skip to content
The Internet Compass

crates.io

chacha20

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.

Repository

https://github.com/RustCrypto/stream-ciphers ↗

Sourced from crates.io · Updated August 13, 2026

Package metadata from crates.io, the Rust community's crate registry.

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is chacha20?

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.

Is chacha20 safe to use?

No vulnerability data has been synced for chacha20 yet.

What license does chacha20 use?

chacha20 does not specify a license.