Adding project to GIT
[froff-onlinedoc] / encryptsupport.h
diff --git a/encryptsupport.h b/encryptsupport.h
new file mode 100644 (file)
index 0000000..a14fdaf
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef ENCRYPTSUPPORT_H
+#define ENCRYPTSUPPORT_H
+
+#include <QWidget>
+class QString;
+class QByteArray;
+
+class encryptSupport:public QWidget
+{
+public:
+    encryptSupport(QWidget * parent = 0);
+    QString encrypt(const QString &);
+    QString decrypt(const QString &);
+private:
+    QByteArray key;
+    QByteArray iv;
+
+    void getDetails();
+    void newPassphraseDialog();
+    void enterPassphraseDialog();
+};
+
+#endif // ENCRYPTSUPPORT_H