forked from mortendahl/rust-paillier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (58 loc) · 1.37 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "paillier"
version = "0.2.1-alpha.0"
authors = [
"Mario Cornejo <[email protected]>",
"Morten Dahl <[email protected]>",
"Mathieu Poumeyrol <[email protected]>"
]
description = "A pure-Rust implementation of the Paillier encryption scheme"
keywords = [
"paillier",
"cryptography",
"homomorphic-encrypt",
"secure-computation",
"zero-knowledge",
]
homepage = "https://github.com/mortendahl/rust-paillier"
repository = "https://github.com/mortendahl/rust-paillier"
documentation = "https://docs.rs/paillier"
license = "MIT/Apache-2.0"
categories = ["cryptography"]
[badges]
travis-ci = { repository = "mortendahl/rust-paillier" }
[features]
default = ["usegmp", "keygen", "proofs"]
keygen = []
proofs = ["ring"]
useramp = ["ramp"]
useframp = ["framp"]
usegmp = ["rust-gmp"]
gmp_nonsec = []
[dependencies]
num-traits = "0.1"
rand = "0.5"
rayon = "1.0"
serde = "1.0"
serde_derive = "1.0"
ramp = { version="0.5", optional=true }
framp = { version="0.3", optional=true }
rust-gmp = { version="0.5", optional=true }
ring = { version="0.13", optional=true }
bit-vec = "0.5"
[dev-dependencies]
bencher = "0.1"
# bencher = { git="https://github.com/snipsco-forks/bencher" }
serde_json = "1.0"
[[bench]]
name = "arith"
harness = false
[[bench]]
name = "encryption"
harness = false
[[bench]]
name = "keygen"
harness = false
[[bench]]
name = "proof"
harness = false