Adding project to GIT
[froff-onlinedoc] / encryptsupport.h
1 #ifndef ENCRYPTSUPPORT_H
2 #define ENCRYPTSUPPORT_H
3
4 #include <QWidget>
5 class QString;
6 class QByteArray;
7
8 class encryptSupport:public QWidget
9 {
10 public:
11     encryptSupport(QWidget * parent = 0);
12     QString encrypt(const QString &);
13     QString decrypt(const QString &);
14 private:
15     QByteArray key;
16     QByteArray iv;
17
18     void getDetails();
19     void newPassphraseDialog();
20     void enterPassphraseDialog();
21 };
22
23 #endif // ENCRYPTSUPPORT_H