Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
AES256Encrypt Class Reference

An encryption class for AES-256. More...

#include <aes.h>

Collaboration diagram for AES256Encrypt:
[legend]

Public Member Functions

 AES256Encrypt (const unsigned char key[32])
 
 ~AES256Encrypt ()
 
void Encrypt (unsigned char ciphertext[16], const unsigned char plaintext[16]) const
 

Private Attributes

AES256_ctx ctx
 

Detailed Description

An encryption class for AES-256.

Definition at line 18 of file aes.h.

Constructor & Destructor Documentation

◆ AES256Encrypt()

AES256Encrypt::AES256Encrypt ( const unsigned char  key[32])
explicit

Definition at line 13 of file aes.cpp.

Here is the call graph for this function:

◆ ~AES256Encrypt()

AES256Encrypt::~AES256Encrypt ( )

Definition at line 18 of file aes.cpp.

Member Function Documentation

◆ Encrypt()

void AES256Encrypt::Encrypt ( unsigned char  ciphertext[16],
const unsigned char  plaintext[16] 
) const

Definition at line 23 of file aes.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ctx

AES256_ctx AES256Encrypt::ctx
private

Definition at line 21 of file aes.h.


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