Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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

#include <aes.h>

+ Collaboration diagram for AES128Decrypt:

Public Member Functions

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

Private Attributes

AES128_ctx ctx
 

Detailed Description

A decryption class for AES-128.

Definition at line 31 of file aes.h.

Constructor & Destructor Documentation

◆ AES128Decrypt()

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

Definition at line 30 of file aes.cpp.

References AES128_init(), and ctx.

◆ ~AES128Decrypt()

AES128Decrypt::~AES128Decrypt ( )

Definition at line 35 of file aes.cpp.

References ctx.

Member Function Documentation

◆ Decrypt()

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

Definition at line 40 of file aes.cpp.

References AES128_decrypt(), and ctx.

Member Data Documentation

◆ ctx

AES128_ctx AES128Decrypt::ctx
private

Definition at line 34 of file aes.h.

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


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