Trait cipher::IvSizeUser

pub trait IvSizeUser {
    type IvSize: ArrayLength<u8> + 'static;

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

Types which use initialization vector (nonce) for initialization.

Generally it’s used indirectly via KeyIvInit or InnerIvInit.

Required Associated Types§

type IvSize: ArrayLength<u8> + 'static

Initialization vector size in bytes.

Provided Methods§

fn iv_size() -> usize

Return IV size in bytes.

Object Safety§

This trait is not object safe.

Implementors§