arnaucube
arnaucube/phantom-zonePublic Self-hosted repository
phantom-zone/Cargo.toml
Cargo.tomlRaw
 1[package]
 2name = "phantom-zone"
 3version = "0.1.0"
 4edition = "2021"
 5readme = "README.md"
 6repository = "https://github.com/gausslabs/phantom-zone"
 7license = "MIT"
 8keywords = ["fhe", "mpc", "cryptography"]
 9description = "Library for multi-party computation using fully-homomorphic encryption"
10
11[dependencies]
12itertools = "0.12.0"
13num-traits = "0.2.18"
14rand = "0.8.5"
15rand_chacha = "0.3.1"
16rand_distr = "0.4.3"
17num-bigint-dig = { version = "0.8.4", features = ["prime"] }
18
19[dev-dependencies]
20criterion = "0.5.1"
21rayon = "1.10.0"
22
23[features]
24interactive_mp = []
25non_interactive_mp = []
26
27[[bench]]
28name = "ntt"
29harness = false
30
31[[bench]]
32name = "modulus"
33harness = false
34
35[[example]]
36name = "interactive_fheuint8"
37path = "./examples/interactive_fheuint8.rs"
38
39[[example]]
40name = "non_interactive_fheuint8"
41path = "./examples/non_interactive_fheuint8.rs"
42required-features = ["non_interactive_mp"]
43
44[[example]]
45name = "meeting_friends"
46path = "./examples/meeting_friends.rs"
47required-features = ["non_interactive_mp"]
48
49[[example]]
50name = "bomberman"
51path = "./examples/bomberman.rs"
52required-features = ["non_interactive_mp"]
53
54[[example]]
55name = "div_by_zero"
56path = "./examples/div_by_zero.rs"
57required-features = ["non_interactive_mp"]
58
59[[example]]
60name = "if_and_else"
61path = "./examples/if_and_else.rs"
62required-features = ["non_interactive_mp"]