Cargo Features
Cyphergraphy has no features set by default.
[dependencies]
cyphergraphy = { version = "0.3.0", features = ["x25519", "ed25519", "keygen_25519", "bip340", "pem", "sha2", "sha3", "blake3", "multibase"] }
- x25519
-
Affects
cyphergraphy::x25519
… - ed25519
-
Enables ed25519 and random of ec25519
Affects
cyphergraphy::ed25519
… - keygen_25519
- keygen_secp256k1 bip340 = secp256k1
- pem
-
Digests:
sha2
sha3
blake3
Encodings:
multibase
Other:
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- secp256k1 bip340? keygen_secp256k1?
-
Enables secp256k1 ^0.29.0
Elliptic curves
- ec25519 ed25519? keygen_25519? pem? x25519?
- sha2 implicit feature
- sha3 implicit feature
- blake3 implicit feature
-
Enables blake3
blake3:
the BLAKE3 hash function
- multibase implicit feature
-
Enables multibase
Encodings