-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
45 lines (42 loc) · 1.42 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
[package]
authors = ["Michael Lodder <[email protected]>"]
categories = ["cryptography", "algorithms"]
description = """The Paillier cryptosystem is a public key crytosystem based on composite degree residuosity classes.
Paillier ciphertexts are homorphic in that the can be added.
"""
documentation = "https://docs.rs/paillier-rs"
edition = "2021"
license = "Apache-2.0 OR MIT"
name = "libpaillier"
readme = "README.md"
repository = "https://github.com/mikelodder7/paillier-rs"
version = "0.7.0-rc0"
[features]
default = ["2048"]
2048 = []
3072 = []
4096 = []
wasm = ["getrandom", "wasm-bindgen", "serde-wasm-bindgen"]
[dependencies]
bit-vec = "0.8"
crypto-bigint = { version = "0.5", features = ["alloc", "generic-array", "rand", "serde", "zeroize"] }
crypto-primes = "0.5"
digest = "0.10"
getrandom = { version = "0.2", features = ["js"], optional = true }
rand = "0.8"
postcard = { version = "1.0", features = ["use-std"] }
serde = { version = "1.0", features = ["serde_derive"] }
serde-wasm-bindgen = { version = "0.6", optional = true }
sha2 = "0.10"
subtle = "2.6"
thiserror = "1.0"
wasm-bindgen = { version = "0.2", default-features = false, features = ["serde-serialize"], optional = true }
zeroize = { version = "1", features = ["zeroize_derive"] }
[dev-dependencies]
elliptic-curve = "0.13"
hex = "0.4"
k256 = { version = "0.13", features = ["arithmetic"] }
rand_chacha = "0.3.1"
wasm-bindgen-test = "0.3"
multibase = "0.9"
serde_json = "1.0"