[−][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. |
dev | feature="dev" Development-related functionality |
Macros
bench | feature="dev" Define benchmark |
new_test | feature="dev" Define test |
Structs
InvalidKeyLength | Error struct which used with |
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 |
NewBlockCipher | Instantiate a |
Type Definitions
Block | Block on which a |
Key | Key for an algorithm that implements |
ParBlocks | Blocks being acted over in parallel. |