[][src]Trait digest::ExtendableOutputCore

pub trait ExtendableOutputCore: UpdateCore {
    type ReaderCore: XofReaderCore;
    pub fn finalize_xof_core(
        &mut self,
        buffer: &mut BlockBuffer<Self::BlockSize>
    ) -> Self::ReaderCore; }

Trait for extendable-output function (XOF) core implementations to use to retrieve the hash output.

Usage of this trait in user code is discouraged. Instead use core algorithm wrapped by crate::CoreWrapper, which implements the ExtendableOutput trait.

Associated Types

type ReaderCore: XofReaderCore[src]

XOF reader core state.

Loading content...

Required methods

pub fn finalize_xof_core(
    &mut self,
    buffer: &mut BlockBuffer<Self::BlockSize>
) -> Self::ReaderCore
[src]

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

This method is expected to only be called once unless Reset::reset is called, after which point it can be called again and reset again (and so on).

Loading content...

Implementors

Loading content...