Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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

#include <aes.h>

+ Collaboration diagram for AES128Encrypt:

Public Member Functions

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

Private Attributes

AES128_ctx ctx
 

Detailed Description

An encryption class for AES-128.

Definition at line 19 of file aes.h.

Constructor & Destructor Documentation

◆ AES128Encrypt()

AES128Encrypt::AES128Encrypt ( const unsigned char  key[16])
explicit

Definition at line 15 of file aes.cpp.

References AES128_init(), and ctx.

◆ ~AES128Encrypt()

AES128Encrypt::~AES128Encrypt ( )

Definition at line 20 of file aes.cpp.

References ctx.

Member Function Documentation

◆ Encrypt()

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

Definition at line 25 of file aes.cpp.

References AES128_encrypt(), and ctx.

Member Data Documentation

◆ ctx

AES128_ctx AES128Encrypt::ctx
private

Definition at line 22 of file aes.h.

Referenced by AES128Encrypt(), Encrypt(), and ~AES128Encrypt().


The documentation for this class was generated from the following files:
Released under the MIT license