[package] name = "zkryptium" version = "0.3.1" edition = "2021" license = "Apache-2.0" authors = ["LINKS Foundation"] description = "Rust crypto library for zero-knowledge proofs" repository = "https://github.com/Cybersecurity-LINKS/zkryptium" rust-version = "1.65" keywords = [ "crypto", "signatures", "zero-knowledge", "bbs", "blind-signature" ] categories = [ "cryptography", "authentication" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] rand = {version = "0.8.5"} zeroize = { version = "1.5" } serde = { version = "1.0.25", default-features = false, features = ["derive", "serde_derive"] } serde_json = "1.0.59" hex = "0.4.3" thiserror = "1.0.30" # cl03 rug = { version = "1.19.2", features = ["serde"], optional = true } sha3 = "0.10.8" sha2 = "0.10.6" hkdf = "0.12.3" digest = "0.10.6" # bbsplus bls12_381_plus = { version = "0.8.13", optional = true } ff = "0.13.0" group = "0.10" elliptic-curve = "0.13.4" cargo-license = "0.5.1" log = "0.4.0" env_logger = "0.10.0" dotenv = "0.15.0" [lib] name = "zkryptium" path = "src/lib.rs" [features] default = ["bbsplus"] cl03 = ["dep:rug"] bbsplus = ["dep:bls12_381_plus"] [[example]] name = "bbsplus_blind" path = "examples/bbsplus_blind.rs" required-features = ["bbsplus"] [[example]] name = "bbsplus" path = "examples/bbsplus.rs" required-features = ["bbsplus"] [[example]] name = "cl03" path = "examples/cl03.rs" required-features = ["cl03"]