pub struct Salsa20 { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Decryptor for Salsa20
impl Decryptor for Salsa20
fn decrypt( &mut self, input: &mut RefReadBuffer<'_>, output: &mut RefWriteBuffer<'_>, _: bool, ) -> Result<BufferResult, SymmetricCipherError>
Source§impl Encryptor for Salsa20
impl Encryptor for Salsa20
fn encrypt( &mut self, input: &mut RefReadBuffer<'_>, output: &mut RefWriteBuffer<'_>, _: bool, ) -> Result<BufferResult, SymmetricCipherError>
Source§impl SynchronousStreamCipher for Salsa20
impl SynchronousStreamCipher for Salsa20
impl Copy for Salsa20
Auto Trait Implementations§
impl Freeze for Salsa20
impl RefUnwindSafe for Salsa20
impl Send for Salsa20
impl Sync for Salsa20
impl Unpin for Salsa20
impl UnwindSafe for Salsa20
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)