chacha20 0.7.2

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.
Documentation
[dependencies.cfg-if]
version = "1"

[dependencies.cipher]
optional = true
version = "0.3"

[dependencies.rand_core]
default-features = false
optional = true
version = "0.6"

[dependencies.zeroize]
default-features = false
optional = true
version = "=1.3"
[dev-dependencies.cipher]
features = ["dev"]
version = "0.3"

[dev-dependencies.hex-literal]
version = "0.2"

[features]
default = ["xchacha"]
expose-core = []
force-soft = []
hchacha = ["xchacha"]
legacy = ["cipher"]
rng = ["rand_core"]
std = ["cipher/std"]
xchacha = ["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 `cipher` crate, with optional architecture-specific\nhardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12,\nXChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional\nrand_core-compatible RNGs based on 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.7.2"
[package.metadata.docs.rs]
features = ["legacy", "rng", "std", "xchacha"]
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(any(target_arch = \"x86_64\", target_arch = \"x86\"))".dependencies.cpufeatures]
version = "0.1"