Trait wolf_crypto::buf::GenericIv

source ·
pub trait GenericIv {
    type Size: IvSize;

    // Required method
    fn as_slice(&self) -> &[u8] ;
}
Expand description

A trait for types that can be used as generic initialization vectors.

Required Associated Types§

source

type Size: IvSize

The associated size type for this IV.

Required Methods§

source

fn as_slice(&self) -> &[u8]

Returns a reference to the IV as a byte slice.

Implementors§