[package]
edition = "2024"
rust-version = "1.87"
name = "sha1dc"
version = "0.1.2"
build = false
exclude = [
".github",
"tests/data/shattered-1.pdf",
"tests/data/shattered-2.pdf",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hardware-accelerated SHA-1 with collision detection"
documentation = "https://docs.rs/sha1dc"
readme = "README.md"
keywords = [
"sha1",
"hash",
"collision",
"shattered",
]
categories = [
"cryptography",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/srijs/sha1dc"
[features]
default = ["std"]
std = []
[lib]
name = "sha1dc"
path = "src/lib.rs"
[[test]]
name = "backends"
path = "tests/backends.rs"
[[test]]
name = "collision"
path = "tests/collision.rs"
[[test]]
name = "kat"
path = "tests/kat.rs"
[[test]]
name = "lengths"
path = "tests/lengths.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[dependencies]
[dev-dependencies.hex-literal]
version = "1"
[dev-dependencies.quickcheck]
version = "1"
default-features = false
[dev-dependencies.sha1]
version = "0.11"