Module block

Source
Expand description

Traits used to define functionality of block ciphers and modes of operation.

§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.

Structs§

BlockCtx 🔒
Closure used in methods which operate over separate blocks.
BlocksCtx 🔒
Closure used in methods which operate over slice of blocks.

Traits§

ArrayLength
Trait making GenericArray work, marking types to be used as length of an array
BlockBackend
Trait implemented by block cipher encryption and decryption backends.
BlockCipher
Marker trait for block ciphers.
BlockClosure
Trait for BlockBackend users.
BlockDecrypt
Decrypt-only functionality for block ciphers.
BlockDecryptMut
Decrypt-only functionality for block ciphers and modes with mutable access to self.
BlockEncrypt
Encrypt-only functionality for block ciphers.
BlockEncryptMut
Encrypt-only functionality for block ciphers and modes with mutable access to self.
BlockSizeUser
Types which process data in blocks.
Unsigned
The marker trait for compile time unsigned integers.

Functions§

allocate_out_vec 🔒

Type Aliases§

Block
Block on which BlockSizeUser implementors operate.