Skip to content

Collection of generic block mode algorithms written in pure Rust

Notifications You must be signed in to change notification settings

RustCrypto/block-modes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.81
Cipher Block Chaining cbc crates.io Documentation MSRV 1.81
8-bit Cipher Feedback cfb8 crates.io Documentation MSRV 1.81
Full-block Cipher Feedback cfb-mode crates.io Documentation MSRV 1.81
Counter ctr crates.io Documentation MSRV 1.81
Ciphertext stealing cts crates.io Documentation MSRV 1.81
GOST R 34.13-2015 gost-modes crates.io Documentation MSRV 1.81
Infinite Garble Extension ige crates.io Documentation MSRV 1.81
Output Feedback ofb crates.io Documentation MSRV 1.81
Propagating Cipher Block Chaining pcbc crates.io Documentation MSRV 1.81

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.

About

Collection of generic block mode algorithms written in pure Rust

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages