Module core_api
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
-
CoreWrapper
Wrapper around
BufferKindUser. -
CtVariableCoreWrapper
Wrapper around
VariableOutputCorewhich selects output size at compile time. -
RtVariableCoreWrapper
Wrapper around
VariableOutputCorewhich selects output size at run time. -
XofReaderCoreWrapper
Wrapper around
XofReaderCoreimplementations.
Enums
-
TruncSide
Type which used for defining truncation side in the
VariableOutputCoretrait.
Traits
- AlgorithmName
- BlockSizeUser
-
BufferKindUser
Types which use
BlockBufferfunctionality. -
CoreProxy
A proxy trait to a core type implemented by
CoreWrapper - ExtendableOutputCore Core trait for hash functions with extendable (XOF) output size.
- FixedOutputCore Core trait for hash functions with fixed output size.
- OutputSizeUser
- Reset
- UpdateCore Types which consume data in blocks.
- VariableOutputCore Core trait for hash functions with variable output size.
- XofReaderCore Core reader trait for extendable-output function (XOF) result.
Type Aliases
- Block
-
Buffer
Buffer type used by type which implements
BufferKindUser.