Struct nettle::mode::Ctr

source · []
pub struct Ctr<C: Cipher> { /* private fields */ }
Expand description

Counter mode.

Implementations

Create a new encrypting CTR instance with key.

Create a new decrypting CTR instance with key.

Trait Implementations

Block size of the underlying cipher in bytes.

Encrypt a single block src using the initialization vector iv to a ciphertext block dst. Read more

Decrypt a single ciphertext block src using the initialization vector iv to a plaintext block dst. Read more

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

Performs the conversion.

Performs the conversion.

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.