Crate crypto_common
source ·Expand description
Common cryptographic traits.
Re-exports§
pub use getrandom;getrandompub use rand_core;rand_corepub use hybrid_array as array;pub use hybrid_array::typenum;
Modules§
- Hazardous materials.
Structs§
- The error type returned when key and/or IV used in the
KeyInit,KeyIvInit, andInnerIvInitslice-based methods had an invalid length.
Traits§
- Trait which stores algorithm name constant, used in
Debugimplementations. - Types which process data in blocks.
- Trait implemented for supported block sizes, i.e. for types from
U1toU255. - Types which can be initialized from another type (usually block ciphers).
- Types which can be initialized from another type and additional initialization vector/nonce.
- Types which use another type for initialization.
- 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 return data with the given size.
- Types which can process blocks in parallel.
- Resettable types.
Type Aliases§
- Alias for
AddBlockSize<A, B> = Sum<T, B::BlockSize> - Block on which
BlockSizeUserimplementors operate. - Initialization vector (nonce) used by
IvSizeUserimplementors. - Key used by
KeySizeUserimplementors. - Output array of
OutputSizeUserimplementors. - Alias for the output size of
OutputSizeUserimplementors. - Parallel blocks on which
ParBlocksSizeUserimplementors operate. - Alias for
SubBlockSize<A, B> = Diff<T, B::BlockSize>