Struct aesni::CtrAes256
[−]
[src]
pub struct CtrAes256 { /* fields omitted */ }
AES256 in CTR mode
Methods
impl CtrAes256
[src]
pub fn new(key: &[u8; 32], nonce: &[u8; 16]) -> Self
[src]
pub fn xor(&mut self, buf: &mut [u8])
[src]
Trait Implementations
impl Clone for CtrAes256
[src]
fn clone(&self) -> CtrAes256
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more