pub trait KeySizeUser {
    type KeySize: ArrayLength<u8> + 'static;

    fn key_size() -> usize { ... }
}
Expand description

Types which use key for initialization.

Generally it’s used indirectly via KeyInit or KeyIvInit.

Required Associated Types§

Key size in bytes.

Provided Methods§

Return key size in bytes.

Implementors§