[package] name = "aucpace" version = "0.1.1" authors = ["Sam Leonard "] description = "AuCPace protocol implementation" documentation = "https://docs.rs/aucpace" homepage = "https://github.com/RustCrypto/PAKEs" repository = "https://github.com/RustCrypto/PAKEs/tree/master/aucpace" license = "MIT OR Apache-2.0" keywords = ["crypto", "pake", "authentication"] categories = ["cryptography", "authentication"] exclude = [".gitignore"] readme = "README.md" edition = "2021" rust-version = "1.60" [dependencies] curve25519-dalek = { version = "4", default-features = false, features = ["digest", "rand_core"] } password-hash = { version = "0.5", default-features = false, features = ["rand_core"] } rand_core = { version = "0.6", default-features = false } serde = { version = "1", default-features = false, optional = true, features = ["derive"] } serde-byte-array = { version = "0.1", optional = true } subtle = { version = "2.4", default-features = false } scrypt = { version = "0.11", default-features = false, optional = true, features = ["simple"] } sha2 = { version = "0.10", default-features = false, optional = true } [dev-dependencies] bincode = "1" curve25519-dalek = { version = "4", features = ["digest", "rand_core"] } password-hash = { version = "0.5", features = ["rand_core"] } postcard = "1" rand_core = "0.6" scrypt = { version = "0.11", features = ["simple"] } sha2 = "0.10" [features] default = ["scrypt", "sha2", "getrandom"] alloc = [] partial_augmentation = [] strong_aucpace = [] zeroize = ["curve25519-dalek/zeroize"] serde = ["dep:serde", "serde-byte-array", "curve25519-dalek/serde"] getrandom = ["rand_core/getrandom"] [[example]] name = "key_agreement" required-features = ["default", "alloc", "serde"] [[example]] name = "key_agreement_no_std" required-features = ["default", "serde"] [[example]] name = "key_agreement_partial_aug" required-features = ["default", "alloc", "serde", "partial_augmentation"] [[example]] name = "key_agreement_strong" required-features = ["default", "alloc", "serde", "strong_aucpace"]