diff options
Diffstat (limited to 'lib/events/encryptedfile.h')
-rw-r--r-- | lib/events/encryptedfile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/events/encryptedfile.h b/lib/events/encryptedfile.h index 24ac9de1..f271d345 100644 --- a/lib/events/encryptedfile.h +++ b/lib/events/encryptedfile.h @@ -5,6 +5,10 @@ #pragma once #include "converters.h" +#include "logging.h" + +#include <openssl/evp.h> +#include <QtCore/QCryptographicHash> namespace Quotient { /** @@ -44,6 +48,8 @@ public: QString iv; QHash<QString, QString> hashes; QString v; + + QByteArray decryptFile(const QByteArray &ciphertext) const; }; template <> |