Trait digest::BlockInput[][src]

pub trait BlockInput {
    type BlockSize: ArrayLength<u8>;
}
Expand description

Trait to indicate that digest function processes data in blocks of size BlockSize.

The main usage of this trait is for implementing HMAC generically.

Associated Types

Block size

Implementors

impl BlockInput for Sha256

impl BlockInput for Sha224

impl BlockInput for Sha512

impl BlockInput for Sha384

impl BlockInput for Sha512Trunc256

impl BlockInput for Sha512Trunc224