[][src]Struct aesni::Aes128Ctr

pub struct Aes128Ctr { /* fields omitted */ }

AES-128 in CTR mode

Trait Implementations

impl Debug for Aes128Ctr

Formats the value using the given formatter. Read more

impl Clone for Aes128Ctr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl NewStreamCipher for Aes128Ctr
[src]

Key size in bytes

Nonce size in bytes

Create new stream cipher instance from variable length key and nonce.

Create new stream cipher instance from variable length key and nonce.

impl SyncStreamCipher for Aes128Ctr
[src]

Apply keystream to the data, but return an error if end of a keystream will be reached. Read more

Apply keystream to the data. Read more

impl SyncStreamCipherSeek for Aes128Ctr
[src]

Return current position of a keystream in bytes from the beginning.

Seek keystream to the given pos in bytes.

Auto Trait Implementations

impl Send for Aes128Ctr

impl Sync for Aes128Ctr

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Same for T

Should always be Self

impl<C> StreamCipher for C where
    C: SyncStreamCipher
[src]

Encrypt data in place.

Decrypt data in place.