pub struct Salsa20 { /* private fields */ }Implementations§
Trait Implementations§
impl Copy for Salsa20
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>
Auto Trait Implementations§
impl Freeze for Salsa20
impl RefUnwindSafe for Salsa20
impl Send for Salsa20
impl Sync for Salsa20
impl Unpin for Salsa20
impl UnsafeUnpin 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