MySQL 8.0.39
Source Code Documentation
Aes_ctr Class Reference

The class provides standards to be used by the Aes_ctr ciphers. More...

#include <stream_cipher.h>

Static Public Member Functions

static const EVP_MD * get_evp_md ()
 Returns the message digest function to be uses when opening the cipher. More...
 
static const EVP_CIPHER * get_evp_cipher ()
 Returns the cipher to be uses when using the cipher. More...
 
static std::unique_ptr< Stream_cipherget_encryptor ()
 Returns a new unique Stream_cipher encryptor. More...
 
static std::unique_ptr< Stream_cipherget_decryptor ()
 Returns a new unique Stream_cipher decryptor. More...
 

Static Public Attributes

static const int PASSWORD_LENGTH = 32
 
static const int AES_BLOCK_SIZE = 16
 
static const int FILE_KEY_LENGTH = 32
 

Detailed Description

The class provides standards to be used by the Aes_ctr ciphers.

Member Function Documentation

◆ get_decryptor()

std::unique_ptr< Stream_cipher > Aes_ctr::get_decryptor ( )
static

Returns a new unique Stream_cipher decryptor.

Returns
A new Stream_cipher decryptor.

◆ get_encryptor()

std::unique_ptr< Stream_cipher > Aes_ctr::get_encryptor ( )
static

Returns a new unique Stream_cipher encryptor.

Returns
A new Stream_cipher encryptor.

◆ get_evp_cipher()

static const EVP_CIPHER * Aes_ctr::get_evp_cipher ( )
inlinestatic

Returns the cipher to be uses when using the cipher.

Returns
AES-256-CTR.

◆ get_evp_md()

static const EVP_MD * Aes_ctr::get_evp_md ( )
inlinestatic

Returns the message digest function to be uses when opening the cipher.

Returns
SHA-512 message digest.

Member Data Documentation

◆ AES_BLOCK_SIZE

const int Aes_ctr::AES_BLOCK_SIZE = 16
static

◆ FILE_KEY_LENGTH

const int Aes_ctr::FILE_KEY_LENGTH = 32
static

◆ PASSWORD_LENGTH

const int Aes_ctr::PASSWORD_LENGTH = 32
static

The documentation for this class was generated from the following files: