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.

Re-exports

pub use generic_array;

Modules

Type aliases for many constants.

devdev

Development-related functionality

Macros

Define benchmark

Define test

Structs

Error struct which used with NewVarKey

Traits

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.