[−][src]Struct crypto2::blockcipher::Aes256
Implementations
impl Aes256[src]
pub const BLOCK_LEN: usize[src]
pub const KEY_LEN: usize[src]
pub fn new(key: &[u8]) -> Self[src]
pub fn encrypt(&self, block: &mut [u8])[src]
pub fn decrypt(&self, block: &mut [u8])[src]
Trait Implementations
impl BlockCipher for Aes256[src]
pub const KIND: BlockCipherKind[src]
pub const KEY_LEN: usize[src]
pub const BLOCK_LEN: usize[src]
pub fn new(key: &[u8]) -> Self[src]
pub fn encrypt_block(&mut self, plaintext_in_and_ciphertext_out: &mut [u8])[src]
pub fn decrypt_block(&mut self, ciphertext_in_and_plaintext_out: &mut [u8])[src]
pub fn encrypt_block_oneshot(
key: &[u8],
plaintext_in_and_ciphertext_out: &mut [u8]
)[src]
key: &[u8],
plaintext_in_and_ciphertext_out: &mut [u8]
)
pub fn decrypt_block_oneshot(
key: &[u8],
ciphertext_in_and_plaintext_out: &mut [u8]
)[src]
key: &[u8],
ciphertext_in_and_plaintext_out: &mut [u8]
)
impl Clone for Aes256[src]
impl Debug for Aes256[src]
impl Drop for Aes256[src]
impl Zeroize for Aes256[src]
Auto Trait Implementations
impl RefUnwindSafe for Aes256
impl Send for Aes256
impl Sync for Aes256
impl Unpin for Aes256
impl UnwindSafe for Aes256
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,