MySQL 8.4.4
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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>
#include "my_char_traits.h"

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

using Key_string = std::basic_string< unsigned char, my_char_traits< unsigned char > >
 
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

using Key_string = std::basic_string<unsigned char, my_char_traits<unsigned char> >

Enumeration Type Documentation

◆ Cipher_type

enum class Cipher_type : int
strong
Enumerator
ENCRYPT 
DECRYPT