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§
- Block
Ctx 🔒 - Closure used in methods which operate over separate blocks.
- Blocks
Ctx 🔒 - Closure used in methods which operate over slice of blocks.
Traits§
- Array
Length - Trait making
GenericArray
work, marking types to be used as length of an array - Block
Backend - Trait implemented by block cipher encryption and decryption backends.
- Block
Cipher - Marker trait for block ciphers.
- Block
Closure - Trait for
BlockBackend
users. - Block
Decrypt - Decrypt-only functionality for block ciphers.
- Block
Decrypt Mut - Decrypt-only functionality for block ciphers and modes with mutable access to
self
. - Block
Encrypt - Encrypt-only functionality for block ciphers.
- Block
Encrypt Mut - Encrypt-only functionality for block ciphers and modes with mutable access to
self
. - Block
Size User - Types which process data in blocks.
- Unsigned
- The marker trait for compile time unsigned integers.
Functions§
Type Aliases§
- Block
- Block on which
BlockSizeUser
implementors operate.