Cargo Features

Cyphergraphy has no features set by default.

[dependencies]
cyphergraphy = { version = "0.2.0", features = ["x25519", "ed25519", "keygen_25519", "bip340", "pem", "sha2", "sha3", "blake3", "bech32", "multibase"] }
x25519

Enables x25519 of ec25519

Affects cyphergraphy::x25519

ed25519

Enables ed25519 and random of ec25519

Affects cyphergraphy::ed25519

keygen_25519

Enables random of ec25519

keygen_secp256k1 bip340 = secp256k1
pem

Digests:
sha2
sha3
blake3

Encodings:
multibase
bech32

Other:

Enables pem and std of ec25519

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.26.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

bech32 implicit feature

Enables bech32 ^0.9.1

Encodings

multibase implicit feature

Enables multibase

multibase:

multibase in rust