Struct aes::Aes128[][src]

pub struct Aes128 { /* fields omitted */ }
Expand description

AES-128 block cipher instance

Trait Implementations

Size of the block in bytes

Number of blocks which can be processed in parallel by cipher implementation Read more

Decrypt block in-place

Decrypt several blocks in parallel using instruction level parallelism if possible. Read more

Decrypt a slice of blocks, leveraging parallelism when available.

Encrypt block in-place

Encrypt several blocks in parallel using instruction level parallelism if possible. Read more

Encrypt a slice of blocks, leveraging parallelism when available.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Key size in bytes with which cipher guaranteed to be initialized.

Create new block cipher instance from key with fixed size.

Create new block cipher instance from key with variable size. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Decrypt block in-place

Encrypt block in-place

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.