X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcipher.h;h=e873ff7d972491ffaa63ef82000927b9738bd7c2;hb=714b39660fe19e7f092880019429c8da76ee2bd5;hp=e7f88b38dcb6b4609c9a7a8c7ba75a6bed522356;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce;p=quassel.git diff --git a/src/core/cipher.h b/src/core/cipher.h index e7f88b38..e873ff7d 100644 --- a/src/core/cipher.h +++ b/src/core/cipher.h @@ -22,7 +22,6 @@ class Cipher public: Cipher(); explicit Cipher(QByteArray key, QString cipherType = QString("blowfish")); - ~Cipher(); QByteArray decrypt(QByteArray cipher); QByteArray decryptTopic(QByteArray cipher); bool encrypt(QByteArray &cipher); @@ -34,6 +33,7 @@ public: bool setType(const QString &type); QString type() { return m_type; } static bool neededFeaturesAvailable(); + inline bool usesCBC() { return m_cbc; } private: //direction is true for encrypt, false for decrypt