[][src]Crate block_cipher

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.

Re-exports

pub use generic_array;

Modules

consts

Type aliases for many constants.

devfeature="dev"

Development-related functionality

Macros

benchfeature="dev"

Define benchmark

new_testfeature="dev"

Define test

Structs

InvalidKeyLength

Error struct which used with NewVarKey

Traits

BlockCipher

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

BlockCipherMut

Stateful block cipher which permits &mut self access.

NewBlockCipher

Instantiate a BlockCipher algorithm.

Type Definitions

Block

Block on which a BlockCipher operates.

Key

Key for an algorithm that implements NewBlockCipher.

ParBlocks

Blocks being acted over in parallel.