Struct x11_input_mirror::encryption::ChaCha [−][src]
pub struct ChaCha { /* fields omitted */ }
Methods
impl ChaCha
[src]
impl ChaCha
pub fn new(
should_be_encrypted: bool,
password: &str,
nonce: &[u8; 24]
) -> ChaCha
[src]
pub fn new(
should_be_encrypted: bool,
password: &str,
nonce: &[u8; 24]
) -> ChaCha
pub fn xor(&mut self, dest: &mut [u8])
[src]
pub fn xor(&mut self, dest: &mut [u8])