Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

AES256CBCEncrypt Class Reference

#include <aes.h>

+ Collaboration diagram for AES256CBCEncrypt:

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

Definition at line 66 of file aes.h.

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()

AES256CBCEncrypt::~AES256CBCEncrypt ( )

Definition at line 164 of file aes.cpp.

References iv.

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

const AES256Encrypt AES256CBCEncrypt::enc
private

Definition at line 74 of file aes.h.

Referenced by Encrypt().

◆ iv

unsigned char AES256CBCEncrypt::iv[AES_BLOCKSIZE]
private

Definition at line 76 of file aes.h.

Referenced by AES256CBCEncrypt(), Encrypt(), and ~AES256CBCEncrypt().

◆ pad

const bool AES256CBCEncrypt::pad
private

Definition at line 75 of file aes.h.

Referenced by Encrypt().


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