pub enum CipherValue {
Null,
ArcFourVariant(ArcFourVariant),
Salsa20(Salsa20),
ChaCha20(ChaCha20),
}
Variants§
Implementations§
Source§impl CipherValue
impl CipherValue
pub fn apply_keystream(&mut self, buf: &mut [u8])
pub fn apply_keystream_pos(&mut self, buf: &mut [u8], pos: usize)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CipherValue
impl RefUnwindSafe for CipherValue
impl Send for CipherValue
impl Sync for CipherValue
impl Unpin for CipherValue
impl UnwindSafe for CipherValue
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