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

A builder for encryption and decryption transform operations.

Implementations

Creates a new Builder with a default configuration.

Selects the padding scheme to use.

If not set, an appropriate scheme will be selected for you.

Selects the encryption mode to use.

If not set, an appropriate mode will be selected for you.

Sets the initialization vector to use.

If not set, an appropriate value will be supplied for you.

Encrypts data with a provided key.

Decrypts data with a provided key.

Trait Implementations

Returns the “default value” for a type. 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.