pub struct ChaCha20 { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Decryptor for ChaCha20
impl Decryptor for ChaCha20
fn decrypt( &mut self, input: &mut RefReadBuffer<'_>, output: &mut RefWriteBuffer<'_>, _: bool, ) -> Result<BufferResult, SymmetricCipherError>
Source§impl Encryptor for ChaCha20
impl Encryptor for ChaCha20
fn encrypt( &mut self, input: &mut RefReadBuffer<'_>, output: &mut RefWriteBuffer<'_>, _: bool, ) -> Result<BufferResult, SymmetricCipherError>
Source§impl SynchronousStreamCipher for ChaCha20
impl SynchronousStreamCipher for ChaCha20
impl Copy for ChaCha20
Auto Trait Implementations§
impl Freeze for ChaCha20
impl RefUnwindSafe for ChaCha20
impl Send for ChaCha20
impl Sync for ChaCha20
impl Unpin for ChaCha20
impl UnwindSafe for ChaCha20
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
)