Struct openssl::symm::Cipher [] [src]

pub struct Cipher(_);

Represents a particular cipher algorithm.

See OpenSSL doc at EVP_EncryptInit for more information on each algorithms.

Methods

impl Cipher
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Requires the v110 feature and OpenSSL 1.1.0.

[src]

Requires the v110 feature and OpenSSL 1.1.0.

[src]

[src]

[src]

Returns the length of keys used with this cipher.

[src]

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

[src]

Returns the block size of the cipher.

Note

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

Trait Implementations

impl Copy for Cipher
[src]

impl Clone for Cipher
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more