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
, { ... } }
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

impl Update for Hasher

impl Update for Sha256

impl Update for Sha224

impl Update for Sha512

impl Update for Sha384

impl Update for Sha512Trunc256

impl Update for Sha512Trunc224

impl Update for Keccak224

impl Update for Keccak256

impl Update for Keccak384

impl Update for Keccak512

impl Update for Keccak256Full

impl Update for Sha3_224

impl Update for Sha3_256

impl Update for Sha3_384

impl Update for Sha3_512

impl Update for Shake128

impl Update for Shake256