21#include <quentier/types/ErrorString.h>
22#include <quentier/types/Result.h>
23#include <quentier/utility/Linkage.h>
30namespace quentier::utility {
55 friend QUENTIER_EXPORT QDebug & operator<<(QDebug & dbg, Cipher cipher);
57 friend QUENTIER_EXPORT QTextStream & operator<<(
58 QTextStream & strm, Cipher cipher);
68 const QString & text,
const QString & passphrase) = 0;
78 const QString & encryptedText,
const QString & passphrase,
The IEncryptor interface provides encryption and decryption functionality which is compatible with th...
Definition IEncryptor.h:37
virtual Result< QString, ErrorString > encrypt(const QString &text, const QString &passphrase)=0
virtual Result< QString, ErrorString > decrypt(const QString &encryptedText, const QString &passphrase, Cipher cipher)=0
Cipher
Definition IEncryptor.h:44