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

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

Reader

Required methods

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

Implementors