Cargo Features

En-Codex has no features set by default.

[dependencies]
encodex = { version = "0.2.0", features = ["all", "all_crypto", "base16", "base64url", "caesar", "hex", "sha256", "ui", "vigenere", "vigenere_ca", "base_encoding", "cipher", "cryptanalysis", "code", "digest", "sha2", "shift_cipher", "doc_tests"] }
all = all_crypto, ui
all_crypto all? = base16, base32, base32hex, base64, base64url, caesar, vigenere
base16 all_crypto? = base_encoding

Every feature enables a code, cipher or digest.

base32 base32hex base64 base64url all_crypto? = base_encoding
caesar all_crypto? = shift_cipher
hex = base_encoding
sha256 = sha2
ui all?

Affects encodex::ui, encodex::action

vigenere all_crypto? vigenere_ca? = shift_cipher
vigenere_ca = cryptanalysis, vigenere

Add cryptanalysis for specific ciphers or digests.

base_encoding base16? base32? base32hex? base64? base64url? hex? = code

These features get enabled when required by the features above and are meant to reduce the size of 'cfg' lines in code. They should not be activated directly. Most of them don't add functionality
anyway.

Affects code::base_encoding

cipher shift_cipher?

Affects encodex::cipher, action::Direction, encodex::action

cryptanalysis vigenere_ca?

Affects encodex::cryptanalysis

code base_encoding?

Affects encodex::code, action::Direction, encodex::action

digest sha2?

Affects encodex::digest, encodex::action

sha2 sha256? = digest

Affects digest::sha2

shift_cipher caesar? vigenere? = cipher

Affects cipher::shift_cipher

doc_tests

Activate this feature