Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AES256CBCEncrypt Class Reference
#include <aes.h>

Public Member Functions | |
AES256CBCEncrypt (const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn) | |
~AES256CBCEncrypt () | |
int | Encrypt (const unsigned char *data, int size, unsigned char *out) const |
Private Attributes | |
const AES256Encrypt | enc |
const bool | pad |
unsigned char | iv [AES_BLOCKSIZE] |
Detailed Description
Constructor & Destructor Documentation
◆ AES256CBCEncrypt()
AES256CBCEncrypt::AES256CBCEncrypt | ( | const unsigned char | key[AES256_KEYSIZE], |
const unsigned char | ivIn[AES_BLOCKSIZE], | ||
bool | padIn | ||
) |
Definition at line 153 of file aes.cpp.
References AES_BLOCKSIZE, iv, and memcpy().
◆ ~AES256CBCEncrypt()
Member Function Documentation
◆ Encrypt()
int AES256CBCEncrypt::Encrypt | ( | const unsigned char * | data, |
int | size, | ||
unsigned char * | out | ||
) | const |
Definition at line 159 of file aes.cpp.
References CBCEncrypt(), enc, iv, and pad.
Referenced by CCrypter::Encrypt(), EncryptAES256(), and EncryptBlob().
Member Data Documentation
◆ enc
|
private |
◆ iv
|
private |
Definition at line 76 of file aes.h.
Referenced by AES256CBCEncrypt(), Encrypt(), and ~AES256CBCEncrypt().
◆ pad
|
private |
The documentation for this class was generated from the following files: