elastic-elgamal 0.2.0

Implementation of ElGamal encryption and related zero-knowledge proofs with pluggable crypto backend
[[bench]]
harness = false
name = "basics"
path = "benches/basics.rs"

[[bench]]
harness = false
name = "sharing"
path = "benches/sharing.rs"

[[example]]
name = "voting"
path = "examples/voting.rs"
required-features = ["serde"]

[[example]]
name = "range"
path = "examples/range.rs"
required-features = ["serde"]

[[test]]
name = "snapshots"
path = "tests/snapshots.rs"
required-features = ["serde"]
[dependencies.base64ct]
default-features = false
features = ["alloc"]
version = "1.0"

[dependencies.curve25519-dalek]
default-features = false
features = ["alloc", "u64_backend"]
version = "3.1.0"

[dependencies.elliptic-curve]
features = ["sec1"]
version = "0.12.0"

[dependencies.hashbrown]
optional = true
version = "0.12.0"

[dependencies.merlin]
default-features = false
version = "3.0.0"

[dependencies.rand_chacha]
default-features = false
version = "0.3.1"

[dependencies.rand_core]
default-features = false
version = "0.6.2"

[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1.0"

[dependencies.subtle]
default-features = false
version = "2.4.0"

[dependencies.zeroize]
default-features = false
version = "1.3.0"
[dev-dependencies.criterion]
version = "0.3.4"

[dev-dependencies.doc-comment]
version = "0.3.3"

[dev-dependencies.insta]
version = "1.8.0"

[dev-dependencies.k256]
default-features = false
features = ["arithmetic"]
version = "0.11"

[dev-dependencies.rand]
version = "0.8.3"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.structopt]
version = "0.3.25"

[dev-dependencies.version-sync]
version = "0.9.2"

[features]
default = ["std"]
std = []

[package]
authors = ["Alex Ostrovski <ostrovski.alex@gmail.com>"]
categories = ["cryptography"]
description = "Implementation of ElGamal encryption and related zero-knowledge proofs\nwith pluggable crypto backend\n"
edition = "2021"
keywords = ["elgamal", "encryption", "zero-knowledge"]
license = "MIT OR Apache-2.0"
name = "elastic-elgamal"
readme = "README.md"
repository = "https://github.com/slowli/elastic-elgamal"
resolver = "2"
rust-version = "1.57"
version = "0.2.0"
[package.metadata.docs.rs]
all-features = true
[profile.dev.package.k256]
opt-level = 2