[package] name = "neuedu-cryptos-wasm" version = "0.6.2" authors = ["孙福龙 (Fulong Sun) ", "江畔 (Pan Jiang) "] edition = "2021" description = "包含国密算法的密码库。 A library include SM3, SM4 (Chinese ShangMi) crypto algos." license = "MIT OR Apache-2.0" keywords = ["Cryptography", "ShangMi", "SM3", "SM4", "MAC"] categories = ["cryptography"] exclude = [".*"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [lib] crate-type = ["cdylib", "rlib"] [dependencies.neuedu-cryptos] version = "0.6" default-features = false [dependencies.wasm-bindgen] version = "0.2" default-features = false [features] hash = [] sm3 = ["hash", "neuedu-cryptos/sm3"] insecure_md5 = ["hash", "neuedu-cryptos/insecure_md5"] insecure_sha1 = ["hash", "neuedu-cryptos/insecure_sha1"] sha2 = ["hash", "neuedu-cryptos/sha2"] sha224 = ["sha2"] sha256 = ["sha2"] sha384 = ["sha2"] sha512 = ["sha2"] sha512_224 = ["sha2"] sha512_256 = ["sha2"] block = [] ecb = ["neuedu-cryptos/ecb"] cbc = ["neuedu-cryptos/cbc"] cfb = ["neuedu-cryptos/cfb"] ofb = ["neuedu-cryptos/ofb"] sm4 = ["block", "neuedu-cryptos/sm4"] mac = [] hmac = ["mac", "neuedu-cryptos/hmac"] block_mode = [] stream_mode = []