[][src]Struct crypto_literal_algorithm::Aes

pub struct Aes {
    pub iv: &'static [u8],
    pub key: &'static [u8],
}

Aes algorithm.

Fields

iv: &'static [u8]key: &'static [u8]

Methods

impl Aes[src]

pub fn encrypt(buffer: &mut [u8], iv: &[u8], key: &[u8])[src]

pub fn decrypt(buffer: &mut [u8], iv: &[u8], key: &[u8])[src]

Trait Implementations

impl Debug for Aes[src]

impl Eq for Aes[src]

impl PartialEq<Aes> for Aes[src]

impl StructuralEq for Aes[src]

impl StructuralPartialEq for Aes[src]

Auto Trait Implementations

impl RefUnwindSafe for Aes

impl Send for Aes

impl Sync for Aes

impl Unpin for Aes

impl UnwindSafe for Aes

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.