pub struct DES_CIPHER { /* private fields */ }

Methods from Deref<Target = Cipher>

Returns the cipher’s Nid.

This corresponds to EVP_CIPHER_nid

Returns the length of keys used with this cipher.

Returns the length of the IV used with this cipher, or None if the cipher does not use an IV.

Returns the block size of the cipher.

Note

Stream ciphers such as RC4 have a block size of 1.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Chainable drop

Convert value to Some(value)

Convert value to Ok(value)

Convert value to Err(value)

Convert value to Box::new(value)

Convert value to Cell(value)

Convert value to RefCell(value)

Convert value to Rc::new(value)

Convert value to Arc::new(value)

Returns the name of a type as a string slice. Read more

Returns the size of a type in bytes. Read more

Returns Some(self) if it satisfies the given predicate function, or None if it doesn’t. Read more

Returns Some(self) if it doesn’t satisfy the given predicate function, or None if it does. Read more

Performs operation f with &self, returns the closure result. Read more

Performs operation f with &mut self, returns the closure result. Read more

Consumes self, performs operation f with it, returns the closure result. Read more

Consumes self, performs operation f with it, returns the receiver. Read more

Consumes self, performs operation f on it, returns the updated value. Read more

The Y Combinator Read more

Returns Some(f()) if it satisfies the given predicate function, or None if it doesn’t. Read more

Returns Some(f()) if it doesn’t satisfy the given predicate function, or None if it does. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

System output -> with :#?’s println!. Read more

System output -> with :?’s println!. Read more

Consumes self, println! as it is, returns self.

Executes the given closure block and returns the duration of elapsed time interval.

Executes the given closure block, returns the result of the closure execution and the duration of elapsed time interval. Read more

Executes the given closure block, returns the receiver self and the duration of elapsed time interval. Read more

Executes the given closure block, returns the receiver self and the duration of elapsed time interval. 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.