pub struct AesSafe256Encryptor { /* private fields */ }
Implementations§
Source§impl AesSafe256Encryptor
impl AesSafe256Encryptor
pub fn new(key: &[u8]) -> AesSafe256Encryptor
Trait Implementations§
Source§impl BlockEncryptor for AesSafe256Encryptor
impl BlockEncryptor for AesSafe256Encryptor
fn block_size(&self) -> usize
fn encrypt_block(&self, input: &[u8], output: &mut [u8])
Source§impl Clone for AesSafe256Encryptor
impl Clone for AesSafe256Encryptor
Source§fn clone(&self) -> AesSafe256Encryptor
fn clone(&self) -> AesSafe256Encryptor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for AesSafe256Encryptor
Auto Trait Implementations§
impl Freeze for AesSafe256Encryptor
impl RefUnwindSafe for AesSafe256Encryptor
impl Send for AesSafe256Encryptor
impl Sync for AesSafe256Encryptor
impl Unpin for AesSafe256Encryptor
impl UnwindSafe for AesSafe256Encryptor
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
)