Module cipher::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§

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

Functions§

Type Aliases§