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> 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
§fn current_pos<T>(&self) -> Twhere
T: SeekNum,
fn current_pos<T>(&self) -> Twhere
T: SeekNum,
Get current keystream position Read more