[][src]Trait digest::Input

pub trait Input {
    fn input<B: AsRef<[u8]>>(&mut self, data: B);

    fn chain<B: AsRef<[u8]>>(self, data: B) -> Self
    where
        Self: Sized
, { ... } }

Trait for processing input data

Required methods

fn input<B: AsRef<[u8]>>(&mut self, data: B)

Digest input data.

This method can be called repeatedly, e.g. for processing streaming messages.

Loading content...

Provided methods

fn chain<B: AsRef<[u8]>>(self, data: B) -> Self where
    Self: Sized

Digest input data in a chained manner.

Loading content...

Implementors

Loading content...