-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (33 loc) · 1.09 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
[package]
name = "generic-ecies"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/LFDT-Lockness/generic-ecies"
description = "ECIES encryption scheme for generic parameters"
readme = "README.md"
categories = ["cryptography"]
keywords = ["elliptic-curves"]
[dependencies]
generic-ec = { version = "0.4.3" }
digest = { version = "0.10" }
sha2 = { version = "0.10" }
hkdf = { version = "0.12" }
cipher = { version = "0.4", features = ["block-padding"] }
rand_core = { version = "0.6" }
thiserror = "1"
salsa20 = { version = "0.10", optional = true }
hmac = { version = "0.12", optional = true }
zeroize = { version = "1.8", optional = true }
aes = { version = "0.8", optional = true }
cbc = { version = "0.1", optional = true }
[dev-dependencies]
hex = "0.4.3"
rand_dev = "0.1"
[features]
default = []
curve-ed25519 = ["generic-ec/curve-ed25519"]
curve25519xsalsa20hmac = ["dep:salsa20", "curve-ed25519", "dep:hmac", "dep:zeroize"]
curve25519aes128-cbchmac = ["dep:aes", "dep:cbc", "curve-ed25519", "dep:hmac"]
[package.metadata.docs.rs]
all-features = true