cipher 0.5.0-rc.4

Traits for describing block ciphers and stream ciphers
Documentation
[dependencies.blobby]
optional = true
version = "0.4"

[dependencies.block-buffer]
optional = true
version = "0.11"

[dependencies.crypto-common]
version = "0.2.0-rc.10"

[dependencies.inout]
version = "0.2.2"

[dependencies.zeroize]
default-features = false
optional = true
version = "1.8"

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

[features]
alloc = []
block-padding = ["inout/block-padding"]
dev = ["blobby"]
getrandom = ["crypto-common/getrandom"]
rand_core = ["crypto-common/rand_core"]
stream-wrapper = ["block-buffer"]
zeroize = ["dep:zeroize", "crypto-common/zeroize", "block-buffer?/zeroize"]

[lib]
name = "cipher"
path = "src/lib.rs"

[package]
authors = ["RustCrypto Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography", "no-std"]
description = "Traits for describing block ciphers and stream ciphers"
documentation = "https://docs.rs/cipher"
edition = "2024"
keywords = ["crypto", "block-cipher", "stream-cipher", "trait"]
license = "MIT OR Apache-2.0"
name = "cipher"
readme = "README.md"
repository = "https://github.com/RustCrypto/traits"
rust-version = "1.85"
version = "0.5.0-rc.4"

[package.metadata.docs.rs]
all-features = true

[[test]]
name = "stream"
path = "tests/stream.rs"