Expand description
This crate defines a set of traits which describe the functionality of block ciphers and stream ciphers.
Re-exports§
pub use generic_array;
Modules§
Traits§
- Async
Stream Cipher  - Asynchronous stream cipher core trait.
 - Block
Cipher  - Trait which marks a type as being a block cipher.
 - Block
Decrypt  - Decrypt-only functionality for block ciphers.
 - Block
Decrypt Mut  - Decrypt-only functionality for block ciphers with mutable access to 
self. - Block
Encrypt  - Encrypt-only functionality for block ciphers.
 - Block
Encrypt Mut  - Encrypt-only functionality for block ciphers with mutable access to 
self. - From
Block Cipher  - Trait for types which can be initialized from a block cipher and nonce.
 - NewBlock
Cipher  - Instantiate a 
BlockCipheralgorithm. - NewCipher
 - Cipher creation trait.
 - SeekNum
 - Trait implemented for numeric types which can be used with the
StreamCipherSeektrait. - Stream
Cipher  - Synchronous stream cipher core trait.
 - Stream
Cipher Seek  - Trait for seekable stream ciphers.
 
Type Aliases§
- Block
 - Block on which a 
BlockCipheroperates. - Block
Cipher Key  - Key for an algorithm that implements 
NewBlockCipher. - Cipher
Key  - Key for an algorithm that implements 
NewCipher. - Nonce
 - Nonce for an algorithm that implements 
NewCipher. - ParBlocks
 - Block on which a 
BlockCipheroperates in parallel.