[−][src]Struct salsa20_core::Ctr
Counter mode for the block functions of Salsa20 family ciphers
Methods
impl<C> Ctr<C> where
C: SalsaFamilyCipher,
[src]
C: SalsaFamilyCipher,
Trait Implementations
impl<C> Debug for Ctr<C> where
C: SalsaFamilyCipher,
[src]
C: SalsaFamilyCipher,
impl<C: Default + SalsaFamilyCipher> Default for Ctr<C>
[src]
impl<C> SyncStreamCipher for Ctr<C> where
C: SalsaFamilyCipher,
[src]
C: SalsaFamilyCipher,
fn try_apply_keystream(&mut self, data: &mut [u8]) -> Result<(), LoopError>
[src]
fn apply_keystream(&mut self, data: &mut [u8])
[src]
impl<C> SyncStreamCipherSeek for Ctr<C> where
C: SalsaFamilyCipher,
[src]
C: SalsaFamilyCipher,
fn current_pos(&self) -> u64
[src]
fn seek(&mut self, pos: u64)
[src]
Auto Trait Implementations
impl<C> Unpin for Ctr<C> where
C: Unpin,
C: Unpin,
impl<C> Send for Ctr<C> where
C: Send,
C: Send,
impl<C> Sync for Ctr<C> where
C: Sync,
C: Sync,
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<C> StreamCipher for C where
C: SyncStreamCipher,
[src]
C: SyncStreamCipher,
impl<T> Same<T> for T
type Output = T
Should always be Self