Trait digest::core_api::ExtendableOutputCore

source ·
pub trait ExtendableOutputCore: UpdateCore + BufferKindUser
where Self::BlockSize: IsLess<U256>, Le<Self::BlockSize, U256>: NonZero,
{ type ReaderCore: XofReaderCore; // Required method fn finalize_xof_core( &mut self, buffer: &mut Buffer<Self>, ) -> Self::ReaderCore; }
Expand description

Core trait for hash functions with extendable (XOF) output size.

Required Associated Types§

source

type ReaderCore: XofReaderCore

XOF reader core state.

Required Methods§

source

fn finalize_xof_core(&mut self, buffer: &mut Buffer<Self>) -> Self::ReaderCore

Retrieve XOF reader using remaining data stored in the block buffer and leave hasher in a dirty state.

Object Safety§

This trait is not object safe.

Implementors§