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

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

Trait for updating digest state with input data.

Required methods

Digest input data.

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

Provided methods

Digest input data in a chained manner.

Implementors