Expand description
Common cryptographic traits.
Re-exports§
pub use generic_array;
pub use generic_array::typenum;
Structs§
- Invalid
Length - The error type returned when key and/or IV used in the
KeyInit
,KeyIvInit
, andInnerIvInit
slice-based methods had an invalid length.
Traits§
- Algorithm
Name - Trait which stores algorithm name constant, used in
Debug
implementations. - Block
Size User - Types which process data in blocks.
- Inner
Init - Types which can be initialized from another type (usually block ciphers).
- Inner
IvInit - Types which can be initialized from another type and additional initialization vector/nonce.
- Inner
User - Types which use another type for initialization.
- IvSize
User - Types which use initialization vector (nonce) for initialization.
- KeyInit
- Types which can be initialized from key.
- KeyIv
Init - Types which can be initialized from key and initialization vector (nonce).
- KeySize
User - Types which use key for initialization.
- Output
Size User - Types which return data with the given size.
- ParBlocks
Size User - Types which can process blocks in parallel.
- Reset
- Resettable types.
Type Aliases§
- Block
- Block on which
BlockSizeUser
implementors operate. - Iv
- Initialization vector (nonce) used by
IvSizeUser
implementors. - Key
- Key used by
KeySizeUser
implementors. - Output
- Output array of
OutputSizeUser
implementors. - ParBlocks
- Parallel blocks on which
ParBlocksSizeUser
implementors operate.