Cargo Features
[dependencies]
dhkem = { version = "0.0.1-alpha", default-features = false, features = ["ecdh", "k256", "p256", "p384", "p521", "x25519", "zeroize"] }
- default = zeroize
-
The
zeroize
feature is set by default wheneverdhkem
is added without
somewhere in the dependency tree.default-features = false - ecdh k256? p256? p384? p521?
-
Enables ecdh of elliptic-curve
optional dependencies
- k256 = ecdh
-
Enables k256
Affects
dhkem::Secp256k1Kem
… - p256 = ecdh
-
Enables p256
Affects
dhkem::NistP256Kem
… - p384 = ecdh
-
Enables p384
Affects
dhkem::NistP384Kem
… - p521 = ecdh
-
Enables p521
Affects
dhkem::NistP521Kem
… - x25519
-
Enables reusable_secrets of x25519-dalek
- zeroize default
-
Enables zeroize