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"
21
22[features]
23interactive_mp = []
24non_interactive_mp = []
25
26[[bench]]
27name = "ntt"
28harness = false
29
30[[bench]]
31name = "modulus"
32harness = false
33
34[[example]]
35name = "interactive_fheuint8"
36path = "./examples/interactive_fheuint8.rs"
37
38[[example]]
39name = "non_interactive_fheuint8"
40path = "./examples/non_interactive_fheuint8.rs"
41required-features = ["non_interactive_mp"]
42
43[[example]]
44name = "meeting_friends"
45path = "./examples/meeting_friends.rs"
46required-features = ["non_interactive_mp"]
47
48[[example]]
49name = "bomberman"
50path = "./examples/bomberman.rs"
51required-features = ["non_interactive_mp"]
52
53[[example]]
54name = "div_by_zero"
55path = "./examples/div_by_zero.rs"
56required-features = ["non_interactive_mp"]
57
58[[example]]
59name = "if_and_else"
60path = "./examples/if_and_else.rs"
61required-features = ["non_interactive_mp"]