Trait digest::Update[][src]

pub trait Update {
    fn update(&mut self, data: impl AsRef<[u8]>);

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

Trait for updating digest state with input data.

Required methods

fn update(&mut self, data: impl AsRef<[u8]>)[src]

Digest input data.

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

Loading content...

Provided methods

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

Digest input data in a chained manner.

Loading content...

Implementors

Loading content...