pub trait BlockSizeUser {
    type BlockSize: ArrayLength<u8> + 'static;

    // Provided method
    fn block_size() -> usize { ... }
}
Expand description

Types which process data in blocks.

Required Associated Types§

source

type BlockSize: ArrayLength<u8> + 'static

Size of the block in bytes.

Provided Methods§

source

fn block_size() -> usize

Return block size in bytes.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BlockSizeUser for Hash160

source§

impl BlockSizeUser for Hash256

source§

impl BlockSizeUser for Ripemd128Core

source§

impl BlockSizeUser for Ripemd160Core

source§

impl BlockSizeUser for Ripemd256Core

source§

impl BlockSizeUser for Ripemd320Core

source§

impl BlockSizeUser for Sha256VarCore

source§

impl BlockSizeUser for Sha512VarCore

source§

impl BlockSizeUser for CShake128Core

source§

impl BlockSizeUser for CShake128ReaderCore

source§

impl BlockSizeUser for CShake256Core

source§

impl BlockSizeUser for CShake256ReaderCore

source§

impl BlockSizeUser for Keccak224Core

source§

impl BlockSizeUser for Keccak256Core

source§

impl BlockSizeUser for Keccak256FullCore

source§

impl BlockSizeUser for Keccak384Core

source§

impl BlockSizeUser for Keccak512Core

source§

impl BlockSizeUser for Sha3_224Core

source§

impl BlockSizeUser for Sha3_256Core

source§

impl BlockSizeUser for Sha3_384Core

source§

impl BlockSizeUser for Sha3_512Core

source§

impl BlockSizeUser for Shake128Core

source§

impl BlockSizeUser for Shake128ReaderCore

source§

impl BlockSizeUser for Shake256Core

source§

impl BlockSizeUser for Shake256ReaderCore

source§

impl BlockSizeUser for TurboShake128Core

source§

impl BlockSizeUser for TurboShake128ReaderCore

source§

impl BlockSizeUser for TurboShake256Core

source§

impl BlockSizeUser for TurboShake256ReaderCore

source§

impl<D> BlockSizeUser for HmacCore<D>

source§

impl<T> BlockSizeUser for &T
where T: BlockSizeUser,

source§

impl<T> BlockSizeUser for &mut T
where T: BlockSizeUser,

Implementors§