sm4

Crates.iosm4
lib.rssm4
version0.5.1
sourcesrc
created_at2019-10-14 12:28:00.747901
updated_at2022-02-17 09:01:46.240669
descriptionSM4 block cipher algorithm
homepage
repositoryhttps://github.com/RustCrypto/block-ciphers
max_upload_size
id172440
size26,267
block-ciphers (github:rustcrypto:block-ciphers)

documentation

https://docs.rs/sm4

README

RustCrypto: SM4 Cipher

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status HAZMAT

Pure Rust implementation of the SM4 block cipher.

Documentation

⚠️ 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.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

License

Licensed under either of:

at your option.

Contribution

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.

Commit count: 502

cargo fmt