7 releases (breaking)
Uses new Rust 2021
|0.5.1||Feb 17, 2022|
|0.5.0||Feb 10, 2022|
|0.4.0||Apr 29, 2021|
|0.3.0||Oct 16, 2020|
#250 in Cryptography
919 downloads per month
Used in wedpr_l_crypto_block_cipher_sm4
RustCrypto: SM4 Cipher
Pure Rust implementation of the SM4 block cipher.
⚠️ Security Warning: Hazmat!
This crate does not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!
No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.
USE AT YOUR OWN RISK!
Minimum Supported Rust Version
Rust 1.56 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
- All on-by-default features of this library are covered by SemVer
- MSRV is considered exempt from SemVer as noted above
Licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.