[][src]Trait digest::ExtendableOutput

pub trait ExtendableOutput: Sized {
    type Reader: XofReader;
    fn xof_result(self) -> Self::Reader;

    fn vec_result(self, n: usize) -> Vec<u8> { ... }

Trait which describes extendable-output functions (XOF).

Associated Types

Loading content...

Required methods

fn xof_result(self) -> Self::Reader

Retrieve XOF reader and consume hasher instance.

Loading content...

Provided methods

fn vec_result(self, n: usize) -> Vec<u8>

Retrieve result into vector of specified length.

Loading content...


Loading content...