Skip to main content

Module aes

Module aes 

Source
Expand description

Compatibility layer between OpenSSL and cipher::StreamCipher.

These ciphers implement the cipher::StreamCipher trait, so use the cipher crate to access them.

Re-exportsยง

use cipher::common::array::Array; ๐Ÿ”’
use cipher::common::InnerUser; ๐Ÿ”’
use cipher::common::KeyInit; ๐Ÿ”’
use cipher::common::KeySizeUser; ๐Ÿ”’
use cipher::inout::InOutBuf; ๐Ÿ”’
use cipher::InnerIvInit; ๐Ÿ”’
use cipher::IvSizeUser; ๐Ÿ”’
use cipher::StreamCipher; ๐Ÿ”’
use cipher::StreamCipherError; ๐Ÿ”’
use openssl::symm::Cipher; ๐Ÿ”’
use openssl::symm::Crypter; ๐Ÿ”’
use openssl::symm::Mode; ๐Ÿ”’
use zeroize::Zeroize; ๐Ÿ”’
use zeroize::Zeroize; ๐Ÿ”’
use zeroize::ZeroizeOnDrop; ๐Ÿ”’
use zeroize::ZeroizeOnDrop; ๐Ÿ”’

Structsยง

Aes128Ctr
AES 128 in counter mode as used by Tor.
Aes128Key
AES 128 key
Aes256Ctr
AES 256 in counter mode as used by Tor.
Aes256Key
AES 256 key