pub struct Rar13Cipher { /* private fields */ }Implementations§
Source§impl Rar13Cipher
impl Rar13Cipher
pub fn new(password: &[u8]) -> Self
pub fn new_comment() -> Self
pub fn encrypt_in_place(self, data: &mut [u8])
pub fn decrypt_in_place(self, data: &mut [u8])
pub fn encrypt_byte(&mut self, byte: u8) -> u8
pub fn decrypt_byte(&mut self, byte: u8) -> u8
Trait Implementations§
Source§impl Drop for Rar13Cipher
impl Drop for Rar13Cipher
Auto Trait Implementations§
impl Freeze for Rar13Cipher
impl RefUnwindSafe for Rar13Cipher
impl Send for Rar13Cipher
impl Sync for Rar13Cipher
impl Unpin for Rar13Cipher
impl UnsafeUnpin for Rar13Cipher
impl UnwindSafe for Rar13Cipher
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