Trait digest::ExtendableOutputDirty[][src]

pub trait ExtendableOutputDirty: Sized {
    type Reader: XofReader;
    fn finalize_xof_dirty(&mut self) -> Self::Reader;
}

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

Usage of this trait in user code is discouraged. Instead use the ExtendableOutput::finalize_xof or ExtendableOutput::finalize_xof_reset methods.

Types which impl this trait along with Reset will receive a blanket impl of ExtendableOutput.

Associated Types

type Reader: XofReader[src]

Reader

Loading content...

Required methods

fn finalize_xof_dirty(&mut self) -> Self::Reader[src]

Retrieve XOF reader.

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...