#include <aesinterface.h>
|
| AesInterface (QObject *parent=nullptr) |
|
| ~AesInterface () |
|
bool | isOk () const |
|
QByteArray | encrypt (const QByteArray &plainData, const QByteArray &password) |
|
QByteArray | decrypt (const QByteArray &cipherData, const QByteArray &password) |
|
Definition at line 32 of file aesinterface.h.
◆ AesInterface()
AesInterface::AesInterface |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~AesInterface()
AesInterface::~AesInterface |
( |
| ) |
|
◆ createRandomData()
QByteArray AesInterface::createRandomData |
( |
int |
length | ) |
|
|
static |
◆ decrypt()
QByteArray AesInterface::decrypt |
( |
const QByteArray & |
cipherData, |
|
|
const QByteArray & |
password |
|
) |
| |
◆ encrypt()
QByteArray AesInterface::encrypt |
( |
const QByteArray & |
plainData, |
|
|
const QByteArray & |
password |
|
) |
| |
◆ isOk()
bool AesInterface::isOk |
( |
| ) |
const |
◆ passwordToHash()
QByteArray AesInterface::passwordToHash |
( |
const QString & |
masterPassword | ) |
|
|
static |
◆ VERSION
const int AesInterface::VERSION = 1 |
|
static |
Version 1: init(): n=5, EVP_CIPHER=EVP_aes_256_cbc(), EVP_MD=EVP_sha256(), Random IV Encrypted data structure: Version$InitializationVector_base64$EncryptedData_base64
Definition at line 37 of file aesinterface.h.
The documentation for this class was generated from the following files: