pub struct ChaCha<R: Rounds, MC: MaxCounter> { /* private fields */ }
Expand description
Trait Implementations§
source§impl<R: Rounds, MC: MaxCounter> NewCipher for ChaCha<R, MC>
impl<R: Rounds, MC: MaxCounter> NewCipher for ChaCha<R, MC>
source§impl<R: Rounds, MC: MaxCounter> StreamCipher for ChaCha<R, MC>
impl<R: Rounds, MC: MaxCounter> StreamCipher for ChaCha<R, MC>
source§impl<R: Rounds, MC: MaxCounter> StreamCipherSeek for ChaCha<R, MC>
impl<R: Rounds, MC: MaxCounter> StreamCipherSeek for ChaCha<R, MC>
source§fn try_current_pos<T: SeekNum>(&self) -> Result<T, OverflowError>
fn try_current_pos<T: SeekNum>(&self) -> Result<T, OverflowError>
Try to get current keystream position Read more
source§fn try_seek<T: SeekNum>(&mut self, pos: T) -> Result<(), LoopError>
fn try_seek<T: SeekNum>(&mut self, pos: T) -> Result<(), LoopError>
Try to seek to the given position Read more
source§fn current_pos<T>(&self) -> Twhere
T: SeekNum,
fn current_pos<T>(&self) -> Twhere T: SeekNum,
Get current keystream position Read more
Auto Trait Implementations§
impl<R, MC> RefUnwindSafe for ChaCha<R, MC>where MC: RefUnwindSafe, R: RefUnwindSafe,
impl<R, MC> Send for ChaCha<R, MC>where MC: Send, R: Send,
impl<R, MC> Sync for ChaCha<R, MC>where MC: Sync, R: Sync,
impl<R, MC> Unpin for ChaCha<R, MC>where MC: Unpin, R: Unpin,
impl<R, MC> UnwindSafe for ChaCha<R, MC>where MC: UnwindSafe, R: UnwindSafe,
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