Crate block_cipher[][src]

Expand description

This crate defines a set of simple traits used to define functionality of block ciphers.

About block ciphers

Block ciphers are keyed, deterministic permutations of a fixed-sized input “block” providing a reversible transformation to/from an encrypted output. They are one of the fundamental structural components of symmetric cryptography.


pub use generic_array;


Type aliases for many constants.


Development-related functionality


Define benchmark

Define test


Error struct which used with NewVarKey


The trait which defines in-place encryption and decryption over single block or several blocks in parallel.

Stateful block cipher which permits &mut self access.

Instantiate a BlockCipher algorithm.

Type Definitions

Block on which a BlockCipher operates.

Key for an algorithm that implements NewBlockCipher.

Blocks being acted over in parallel.