libquentier 0.5.0
The library for rich desktop clients of Evernote service
|
The EncryptionManager class provides both synchronous methods to encrypt or decrypt given text with password, cipher and key length and their signal-slot based potentially asynchronous counterparts. More...
#include <EncryptionManager.h>
Signals | |
void | decryptedText (QString text, bool success, ErrorString errorDescription, QUuid requestId) |
void | encryptedText (QString encryptedText, bool success, ErrorString errorDescription, QUuid requestId) |
Public Member Functions | |
EncryptionManager (QObject *parent=nullptr) | |
bool | decrypt (const QString &encryptedText, const QString &passphrase, const QString &cipher, const size_t keyLength, QString &decryptedText, ErrorString &errorDescription) |
bool | encrypt (const QString &textToEncrypt, const QString &passphrase, QString &cipher, size_t &keyLength, QString &encryptedText, ErrorString &errorDescription) |
The EncryptionManager class provides both synchronous methods to encrypt or decrypt given text with password, cipher and key length and their signal-slot based potentially asynchronous counterparts.