block-modes icon indicating copy to clipboard operation
block-modes copied to clipboard

Collection of generic block mode algorithms written in pure Rust

Results 9 block-modes issues
Sort by recently updated
recently updated
newest added

Some standards like Kerberos like to use block modes that are really rare and uncommon. One of these is CTS which is referenced https://www.rfc-editor.org/rfc/rfc8009#section-1 and [SP800-38+](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a-add.pdf) in section 4. However,...

@tarcieri mentioned in the zulip chat that CFB8 needs something similar to #17  Currently the Encryptor and Decrytor methods are one shot and that would result in a lot of...

Hello! Implemented belt-ecb. I know it is not the last version, but I have no idea how to use traits with CTS modes. So, now, I have questions: 1. Can...

It makes the `cfb8` crate redundant and enables support of other CFB variants. Unfortunately, it's currently impossible to preserve parallel decryption since `ParBlocksSize` gets tied to block size, which could...

- [ ] GOST modes (migrate from [here](https://github.com/RustCrypto/block-ciphers/tree/5319f4ae9ff448666debf7b83cd923ba57165150/gost-modes)) - [ ] Web CTR (counter width variable at runtime, see #4) - [x] [Ciphertext stealing](https://en.wikipedia.org/wiki/Ciphertext_stealing) (#70) - [ ] XTS -...

help wanted

Currently working on AES-CTR support in Deno .. and W3C WebCrypto requires that the counter increments be limited in "N" RHS bits, such that the LHS is constant during stream...

The block-mode crate is generic and has to be used with concrete ciphers. Currently, the crate does not depend on any cipher, and it is a matter of trial and...

I implemented the trait on the `pre` release of `cipher`. Suggestions for the `cipher` crate: - There does not seem to be a way to return errors using the traits....

Currently working on the implementation of XTS. I might have to do a bunch of hacks and *not* use some traits for now because XTS uses two engines (one to...