Struct openssl::aes::AesKey [] [src]

pub struct AesKey(_);

The key used to encrypt or decrypt cipher blocks.

Methods

impl AesKey
[src]

[src]

Prepares a key for encryption.

Failure

Returns an error if the key is not 128, 192, or 256 bits.

[src]

Prepares a key for decryption.

Failure

Returns an error if the key is not 128, 192, or 256 bits.