pub struct ChaChaDjb<const ROUNDS: usize> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<const ROUNDS: usize> StreamCipher for ChaChaDjb<ROUNDS>
impl<const ROUNDS: usize> StreamCipher for ChaChaDjb<ROUNDS>
Source§fn xor_keystream(&mut self, in_out: &mut [u8])
fn xor_keystream(&mut self, in_out: &mut [u8])
XOR plaintext with the ChaCha keystream.
Auto Trait Implementations§
impl<const ROUNDS: usize> Freeze for ChaChaDjb<ROUNDS>
impl<const ROUNDS: usize> RefUnwindSafe for ChaChaDjb<ROUNDS>
impl<const ROUNDS: usize> Send for ChaChaDjb<ROUNDS>
impl<const ROUNDS: usize> Sync for ChaChaDjb<ROUNDS>
impl<const ROUNDS: usize> Unpin for ChaChaDjb<ROUNDS>
impl<const ROUNDS: usize> UnsafeUnpin for ChaChaDjb<ROUNDS>
impl<const ROUNDS: usize> UnwindSafe for ChaChaDjb<ROUNDS>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more