Expand description
This crate defines a set of traits which describe the functionality of block ciphers, block modes, and stream ciphers.
Re-exports
pub use crypto_common;pub use inout;pub use zeroize;pub use crypto_common::generic_array;pub use crypto_common::typenum;
Modules
- Type aliases for many constants.
 
Macros
- Implement simple block backend
 
Structs
- The error type returned when key and/or IV used in the
KeyInit,KeyIvInit, andInnerIvInitslice-based methods had an invalid length. - The error type returned when a cipher position can not be represented by the requested type.
 - Wrapper around
StreamCipherCoreimplementations. - This error is returned by the
StreamCiphertrait methods. 
Traits
- Trait which stores algorithm name constant, used in
Debugimplementations. - Trait making
GenericArraywork, marking types to be used as length of an array - Marker trait for block-level asynchronous stream ciphers
 - Trait implemented by block cipher encryption and decryption backends.
 - Marker trait for block ciphers.
 - Trait for
BlockBackendusers. - 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.
 - Counter type usable with
StreamCipherCore. - Types which can be initialized from another type and additional initialization vector/nonce.
 - Types which use initialization vector (nonce) for initialization.
 - Trait for loading current IV state.
 - Types which can be initialized from key.
 - Types which can be initialized from key and initialization vector (nonce).
 - Types which use key for initialization.
 - Types which can process blocks in parallel.
 - Trait implemented for numeric types which can be used with the
StreamCipherSeektrait. - Trait implemented by stream cipher backends.
 - Synchronous stream cipher core trait.
 - Block-level synchronous stream ciphers.
 - Trait for seekable stream ciphers.
 - Block-level seeking trait for stream ciphers.
 - Trait for
StreamBackendusers. - The marker trait for compile time unsigned integers.
 
Type Definitions
- Block on which
BlockSizeUserimplementors operate. - Initialization vector (nonce) used by
IvSizeUserimplementors. - Key used by
KeySizeUserimplementors. - Parallel blocks on which
ParBlocksSizeUserimplementors operate.