Trait otter_api_tests::imports::digest::BlockInput [−]
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
type BlockSize: ArrayLength<u8>
type BlockSize: ArrayLength<u8>
Block size
Implementations on Foreign Types
impl BlockInput for Md5
impl BlockInput for Md5
Implementors
impl BlockInput for Sha512
impl BlockInput for Sha512
impl BlockInput for Sha512Trunc256
impl BlockInput for Sha512Trunc256
impl BlockInput for Sha224
impl BlockInput for Sha224
impl BlockInput for Sha256
impl BlockInput for Sha256
impl BlockInput for Sha384
impl BlockInput for Sha384