Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
AES128Encrypt Class Reference
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
Constructor & Destructor Documentation
◆ AES128Encrypt()
|
explicit |
Definition at line 15 of file aes.cpp.
References AES128_init(), and ctx.
◆ ~AES128Encrypt()
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
|
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: