Chctr2_128

Type Alias Chctr2_128 

Source
pub type Chctr2_128 = Chctr2<Aes128>;
Expand description

CHCTR2 with AES-128 encryption (uses two AES-128 keys = 32 bytes total).

Aliased Type§

pub struct Chctr2_128 { /* private fields */ }

Implementations§

Source§

impl Chctr2_128

Source

pub fn new(key: &[u8; 32]) -> Self

Initialize CHCTR2-128 from a combined key (K1 || K2).