Cargo Features

Neuedu-Cryptos has no features set by default.

[dependencies]
neuedu-cryptos = { version = "0.6.3", features = ["hash", "sm3", "insecure_md5", "insecure_sha1", "sha2", "mac", "hmac", "block", "ecb", "cbc", "cfb", "ofb", "sm4"] }
hash insecure_md5? insecure_sha1? mac? sha2? sm3?

Affects neuedu-cryptos::hashs

sm3 = hash

Affects hmac_block::hmac_sm3

insecure_md5 = hash

Affects hmac_block::hmac_md5

insecure_sha1 = hash

Affects hmac_block::hmac_sha1

sha2 = hash

Affects hmac_block::hmac_sha224, hmac_block::hmac_sha256, hmac_block::hmac_sha384, hmac_block::hmac_sha512, hmac_block::hmac_sha512_224, hmac_block::hmac_sha512_256

mac hmac? = hash

Affects neuedu-cryptos::macs

hmac = mac
block sm4?

Affects neuedu-cryptos::block_ciphers

ecb

Affects sm4_block::sm4_ecb_encrypt, sm4_block::sm4_ecb_decrypt

cbc

Affects sm4_block::sm4_cbc_encrypt, sm4_block::sm4_cbc_decrypt

cfb

Affects sm4_block::sm4_cfb_encrypt, sm4_block::sm4_cfb_decrypt

ofb

Affects sm4_block::sm4_ofb_encrypt, sm4_block::sm4_ofb_decrypt

sm4 = block