MySQL 8.3.0
Source Code Documentation
stream_cipher.h File Reference

This file includes core components for encrypting/decrypting binary log files. More...

#include <openssl/evp.h>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  Stream_cipher
 This abstract class represents the interface of a replication logs encryption cipher that can be used to encrypt/decrypt a given stream content in both sequential and random way. More...
 
class  Aes_ctr
 The class provides standards to be used by the Aes_ctr ciphers. More...
 
class  Aes_ctr_cipher< TYPE >
 The class implements AES-CTR encryption/decryption. More...
 

Typedefs

typedef std::basic_string< unsigned char > Key_string
 
typedef class Aes_ctr_cipher< Cipher_type::ENCRYPTAes_ctr_encryptor
 
typedef class Aes_ctr_cipher< Cipher_type::DECRYPTAes_ctr_decryptor
 

Enumerations

enum class  Cipher_type : int { ENCRYPT = 0 , DECRYPT = 1 }
 

Detailed Description

This file includes core components for encrypting/decrypting binary log files.

Typedef Documentation

◆ Aes_ctr_decryptor

◆ Aes_ctr_encryptor

◆ Key_string

typedef std::basic_string<unsigned char> Key_string

Enumeration Type Documentation

◆ Cipher_type

enum class Cipher_type : int
strong
Enumerator
ENCRYPT 
DECRYPT