Skip to content

Repository files navigation

RustCrypto: block modes

Project Chatdependency statusApache2/MIT licensedHAZMAT

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

USE AT YOUR OWN RISK!

Supported Algorithms

NameCrate namecrates.ioDocsMSRV
BelT CTRbelt-ctrcrates.ioDocumentationMSRV 1.85
Cipher Block Chainingcbccrates.ioDocumentationMSRV 1.85
8-bit Cipher Feedbackcfb8crates.ioDocumentationMSRV 1.85
Full-block Cipher Feedbackcfb-modecrates.ioDocumentationMSRV 1.85
Counterctrcrates.ioDocumentationMSRV 1.85
Ciphertext stealingctscrates.ioDocumentationMSRV 1.85
Electronic codebookecbcrates.ioDocumentationMSRV 1.85
Infinite Garble Extensionigecrates.ioDocumentationMSRV 1.85
Output Feedbackofbcrates.ioDocumentationMSRV 1.85
Propagating Cipher Block Chainingpcbccrates.ioDocumentationMSRV 1.85

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

96 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages