[dependencies.rand_core]
default-features = false
optional = true
version = "0.5"
[dependencies.stream-cipher]
optional = true
version = "0.7"
[dependencies.zeroize]
default-features = false
optional = true
version = "1"
[dev-dependencies.hex-literal]
version = "0.2"
[dev-dependencies.stream-cipher]
features = ["dev"]
version = "0.7"
[features]
default = ["xchacha20"]
legacy = ["stream-cipher"]
rng = ["rand_core"]
xchacha20 = ["stream-cipher"]
[package]
authors = ["RustCrypto Developers"]
categories = ["cryptography", "no-std"]
description = "The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits\nfrom the RustCrypto stream-cipher crate, with optional architecture-specific\nhardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12,\nand XChaCha20 stream ciphers, and also optional rand_core-compatible RNGs based\non those ciphers.\n"
edition = "2018"
keywords = ["crypto", "stream-cipher", "chacha8", "chacha12", "xchacha20"]
license = "Apache-2.0 OR MIT"
name = "chacha20"
readme = "README.md"
repository = "https://github.com/RustCrypto/stream-ciphers"
version = "0.5.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]