[package]
name = "sentinel-crypto"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Cryptographic utilities for Cyberpath Sentinel, including hashing and signing."
readme = "../../README.md"
keywords = ["crypto", "hashing", "signing", "ed25519", "blake3"]
categories = ["cryptography"]

[dependencies]
serde_json = "1.0.149"
blake3 = { version = "1.8.3", features = ["rayon"] }
ed25519-dalek = { version = "2.1", features = ["zeroize"] }
rand = "0.9"
hex = "0.4.3"
signature = "2.2"
thiserror = "2.0.17"
zeroize = "1.8.2"
aes-gcm = "0.10"
aes-gcm-siv = "0.11"
chacha20poly1305 = "0.10"
ascon-aead = "0.5"
generic-array = "1.3.5"
argon2 = {version="0.5.3", features = ["zeroize"]}
pbkdf2 = "0.12"
sha2 = "0.10.9"

[dev-dependencies]
criterion = { version = "0.8.1", features = ["html_reports"] }

[[bench]]
name = "crypto_benches"
harness = false
