Output Feedback][OFB] (OFB) block cipher mode of operation


Keywords
stream-cipher, ciphers, block-mode, crypto
Licenses
MIT/Apache-2.0

Documentation

RustCrypto: block modes

Project Chat dependency status Apache2/MIT licensed HAZMAT

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! AEADs provide simple authenticated encryption, which is much less error-prone than manual integrity verification.

USE AT YOUR OWN RISK!

Supported algorithms

Name Crate name crates.io Docs MSRV
BelT CTR belt-ctr crates.io Documentation MSRV 1.57
Cipher Block Chaining cbc crates.io Documentation MSRV 1.56
8-bit Cipher Feedback cfb8 crates.io Documentation MSRV 1.56
Full-block Cipher Feedback cfb-mode crates.io Documentation MSRV 1.56
Counter ctr crates.io Documentation MSRV 1.56
GOST R 34.13-2015 gost-modes crates.io Documentation MSRV 1.56
Infinite Garble Extension ige crates.io Documentation MSRV 1.56
Output Feedback ofb crates.io Documentation MSRV 1.56
Propagating Cipher Block Chaining pcbc crates.io Documentation MSRV 1.56

Minimum Supported Rust Version (MSRV) Policy

MSRV bumps are considered breaking changes and will be performed only with minor version bump.

License

All crates 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.