Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
AES256Encrypt Class Reference
An encryption class for AES-256. More...
#include <aes.h>
Collaboration diagram for AES256Encrypt:
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
Constructor & Destructor Documentation
◆ AES256Encrypt()
|
explicit |
Definition at line 45 of file aes.cpp.
References AES256_init(), and ctx.
◆ ~AES256Encrypt()
Member Function Documentation
◆ Encrypt()
void AES256Encrypt::Encrypt | ( | unsigned char | ciphertext[16], |
const unsigned char | plaintext[16] | ||
) | const |
Definition at line 55 of file aes.cpp.
References AES256_encrypt(), and ctx.
Member Data Documentation
◆ ctx
|
private |
Definition at line 46 of file aes.h.
Referenced by AES256Encrypt(), Encrypt(), and ~AES256Encrypt().
The documentation for this class was generated from the following files: