chacha20 0.6.0

The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits from the RustCrypto stream-cipher crate, with optional architecture-specific hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12, and XChaCha20 stream ciphers, and also optional rand_core-compatible RNGs based on those ciphers.
Documentation
[dependencies.cipher]
optional = true
version = "0.2"

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

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

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

[features]
default = ["xchacha20"]
legacy = ["cipher"]
rng = ["rand_core"]
xchacha20 = ["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.6.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]