pub struct CTR { /* private fields */ }
Expand description

The CTR (counter) chaining mode

Can be passed AES::enable, to start encrypting or decrypting using CTR mode. In CTR mode, encryption and decryption are technically identical, so further qualification is not required.

You gen get an instance of this struct via [Mode::ctr].

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.