Trait digest::BlockInput[][src]

pub trait BlockInput {
    type BlockSize: ArrayLength<u8>;
}
[]

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

type BlockSize: ArrayLength<u8>[src][]

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