Bitcoin
Public Member Functions | Private Attributes | List of all members
AES256Encrypt Class Reference

#include <aes.h>

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.

Constructor & Destructor Documentation

◆ AES256Encrypt()

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

◆ ~AES256Encrypt()

AES256Encrypt::~AES256Encrypt ( )

Member Function Documentation

◆ Encrypt()

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

Member Data Documentation

◆ ctx

AES256_ctx AES256Encrypt::ctx
private

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