#block-cipher #cipher #crypto

no-std eme-mode

EME block cipher mode of operation

5 unstable releases

0.3.1 Apr 26, 2022
0.3.0 Apr 25, 2022
0.2.1 Nov 23, 2021
0.2.0 Sep 5, 2021
0.1.0 Sep 7, 2020

#2193 in Cryptography

37 downloads per month

MIT/Apache

28KB
571 lines

EME block cipher mode for Rust

crate Docs Apache2/MIT licensed Rust Version Build Status

EME (ECB-Mix-ECB) is a tweakable enciphering scheme introduced by Shai Halevi and Phillip Rogaway in 2003.

This implementation is based on https://github.com/rfjakob/eme and https://github.com/jmesmon/rust-eme.

It is generic over the used cipher and padding, but only supports ciphers with a 128 bit (16 Byte) block size.

Minimum Supported Rust Version

This crate will follow the MSRV of the RustCrypto project, which currently requires 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.

Dependencies

~380KB