Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

A decryption class for AES-256. More...

#include <aes.h>

+ Collaboration diagram for AES256Decrypt:

Public Member Functions

 AES256Decrypt (const unsigned char key[32])
 
 ~AES256Decrypt ()
 
void Decrypt (unsigned char plaintext[16], const unsigned char ciphertext[16]) const
 

Private Attributes

AES256_ctx ctx
 

Detailed Description

A decryption class for AES-256.

Definition at line 55 of file aes.h.

Constructor & Destructor Documentation

◆ AES256Decrypt()

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

Definition at line 60 of file aes.cpp.

References AES256_init(), and ctx.

◆ ~AES256Decrypt()

AES256Decrypt::~AES256Decrypt ( )

Definition at line 65 of file aes.cpp.

References ctx.

Member Function Documentation

◆ Decrypt()

void AES256Decrypt::Decrypt ( unsigned char  plaintext[16],
const unsigned char  ciphertext[16] 
) const

Definition at line 70 of file aes.cpp.

References AES256_decrypt(), and ctx.

Member Data Documentation

◆ ctx

AES256_ctx AES256Decrypt::ctx
private

Definition at line 58 of file aes.h.

Referenced by AES256Decrypt(), Decrypt(), and ~AES256Decrypt().


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