summaryrefslogtreecommitdiffstats
path: root/src/crypt/cryptclassrc4.h
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-05-05 14:14:46 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-05-05 14:14:46 +0200
commita2737677508333c18253730b46b6c368e4743eac (patch)
tree7f138914c21784674777a42fd4a1116cf3ed2b01 /src/crypt/cryptclassrc4.h
parentbe846db403c29c77bfb72633d87a7c72a48562b6 (diff)
downloadIT-Sicherheit-a2737677508333c18253730b46b6c368e4743eac.tar.gz
IT-Sicherheit-a2737677508333c18253730b46b6c368e4743eac.zip
Add RC4 encryption from OpenSSL
Diffstat (limited to 'src/crypt/cryptclassrc4.h')
-rw-r--r--src/crypt/cryptclassrc4.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/crypt/cryptclassrc4.h b/src/crypt/cryptclassrc4.h
new file mode 100644
index 0000000..edb1bbc
--- /dev/null
+++ b/src/crypt/cryptclassrc4.h
@@ -0,0 +1,23 @@
+#ifndef CRYPTCLASSRC4_H
+#define CRYPTCLASSRC4_H
+
+#include "cryptclassbase.h"
+#include <QDebug>
+#include "cryptrc4.h"
+
+
+class CryptClassRc4 : public CryptClassBase
+{
+public:
+ CryptClassRc4();
+
+ // CryptClassBase interface
+public:
+ void encrypt();
+ void decrypt();
+
+private:
+ CryptRc4 cryptClass;
+};
+
+#endif // CRYPTCLASSRC4_H