Trait digest::ExtendableOutput[][src]

pub trait ExtendableOutput: Sized {
    type Reader: XofReader;
    fn finalize_xof(self) -> Self::Reader;
fn finalize_xof_reset(&mut self) -> Self::Reader; }

Trait which describes extendable-output functions (XOF).

Associated Types

type Reader: XofReader[src]

Reader

Loading content...

Required methods

fn finalize_xof(self) -> Self::Reader[src]

Retrieve XOF reader and consume hasher instance.

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

Retrieve XOF reader and reset hasher instance state.

Loading content...

Implementors

impl<X: ExtendableOutputDirty + Reset> ExtendableOutput for X[src]

type Reader = X::Reader

Loading content...