Collection of block modes written in pure Rust generic over block ciphers.
⚠️ Security Warning: Hazmat!
Crates in this repository do not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!
USE AT YOUR OWN RISK!
Name | Crate name | crates.io | Docs | MSRV |
---|---|---|---|---|
Cipher Block Chaining | cbc |
|||
8-bit Cipher Feedback | cfb8 |
|||
Full-block Cipher Feedback | cfb-mode |
|||
Counter | ctr |
|||
GOST R 34.13-2015 | gost-modes |
|||
Infinite Garble Extension | ige |
|||
Output Feedback | ofb |
|||
Propagating Cipher Block Chaining | pcbc |
MSRV bumps are considered breaking changes and will be performed only with minor version bump.
All crates 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.