[package]
edition = "2024"
rust-version = "1.85"
name = "tc_des"
version = "0.1.0"
build = false
include = [
"src/**",
"tests/**",
"benches/**",
"README.md",
"BENCHES.md",
"CHANGELOG.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DES and Triple DES block ciphers for legacy interoperability, with table-based and RustCrypto engines."
documentation = "https://docs.rs/tc_des"
readme = "README.md"
keywords = [
"des",
"triple-des",
"block-cipher",
"cryptography",
"no-std",
]
categories = [
"cryptography",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TomiCheng/tc_block_cipher"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
rustcrypto = [
"dep:des",
"des/zeroize",
]
[lib]
name = "tc_des"
path = "src/lib.rs"
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "des_ede_kat"
path = "tests/des_ede_kat.rs"
[[test]]
name = "des_kat"
path = "tests/des_kat.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "documentation"
path = "tests/documentation.rs"
[[bench]]
name = "des"
path = "benches/des.rs"
harness = false
[dependencies.des]
version = "0.9"
optional = true
[dependencies.tc_block_cipher]
version = "0.1.0"
[dependencies.tc_zeroize]
version = "0.1.0"
[dev-dependencies.criterion]
version = "0.8.2"