logo
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.

Associated Types

Key size in bytes.

Provided methods

Return key size in bytes.

Implementors