Skip to content

Collection of generic block mode algorithms written in pure Rust

Notifications You must be signed in to change notification settings

dignifiedquire/block-modes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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!

USE AT YOUR OWN RISK!

Supported algorithms

Name Crate name crates.io Docs MSRV
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.

About

Collection of generic block mode algorithms written in pure Rust

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%