Expand description
Low-level traits operating on blocks and wrappers around them.
Usage of traits in this module in user code is discouraged. Instead use core algorithm wrapped by the wrapper types, which implement the higher-level traits.
Structs§
- CtOut
Wrapper - Wrapper around
VariableOutputCorewhich selects output size at compile time. - Eager
- Eager block buffer kind, which guarantees that buffer position
always lies in the range of
0..BlockSize. - Lazy
- Lazy block buffer kind, which guarantees that buffer position
always lies in the range of
0..=BlockSize.
Enums§
- Trunc
Side - Type which used for defining truncation side in the
VariableOutputCoretrait.
Traits§
- Algorithm
Name - Trait which stores algorithm name constant, used in
Debugimplementations. - Block
Size User - Types which process data in blocks.
- Buffer
Kind User - Types which use
BlockBufferfunctionality. - Core
Proxy - A proxy trait to the core block-level type.
- Eager
Hash - Trait implemented by eager hashes which expose their block-level core.
- Extendable
Output Core - Core trait for hash functions with extendable (XOF) output size.
- Fixed
Output Core - Core trait for hash functions with fixed output size.
- Output
Size User - Types which return data with the given size.
- Reset
- Resettable types.
- Update
Core - Types which consume data in blocks.
- Variable
Output Core - Core trait for hash functions with variable output size.
- Variable
Output Core Customized - Trait adding customization string to hash functions with variable output.
- XofReader
Core - Core reader trait for extendable-output function (XOF) result.
Type Aliases§
- Block
- Block on which
BlockSizeUserimplementors operate. - Buffer
- Buffer type used by type which implements
BufferKindUser.