Skip to main content

Chctr2_256

Type Alias Chctr2_256 

Source
pub type Chctr2_256 = Chctr2<Aes256>;
Expand description

CHCTR2 with AES-256 encryption (uses two AES-256 keys = 64 bytes total).

Aliased Type§

pub struct Chctr2_256 { /* private fields */ }

Implementations§

Source§

impl Chctr2_256

Source

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

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