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

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

Types which consume data with byte granularity.

Required Methods

Update state using the provided data.

Provided Methods

Digest input data in a chained manner.

Implementors