Trait cipher::BlockSizeUser

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§

type BlockSize: ArrayLength<u8> + 'static

Size of the block in bytes.

Provided Methods§

fn block_size() -> usize

Return block size in bytes.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§


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


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