[][src]Module cipher::block

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.

Modules

devdev

Development-related functionality

Structs

InvalidKeyLength

Error struct which used with NewVarKey

Traits

BlockCipher

Trait which marks a type as being a block cipher.

BlockDecrypt

Decrypt-only functionality for block ciphers

BlockDecryptMut

Decrypt-only functionality for block ciphers with mutable access to self.

BlockEncrypt

Encrypt-only functionality for block ciphers

BlockEncryptMut

Encrypt-only functionality for block ciphers with mutable access to self.

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.