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

    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.

Implementations on Foreign Types

Implementors