summaryrefslogtreecommitdiffstats
path: root/src/crypt/cryptclassnullcipher.cpp
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-03-25 10:15:50 +0100
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-03-25 10:33:32 +0100
commita1e3d36dca9c6abf235c7ddf47ab9185c4b748d5 (patch)
tree859befb5df101432b7388e1562f90a01c6d8e238 /src/crypt/cryptclassnullcipher.cpp
downloadIT-Sicherheit-a1e3d36dca9c6abf235c7ddf47ab9185c4b748d5.tar.gz
IT-Sicherheit-a1e3d36dca9c6abf235c7ddf47ab9185c4b748d5.zip
First commit of IT-Sicherheit
Diffstat (limited to 'src/crypt/cryptclassnullcipher.cpp')
-rw-r--r--src/crypt/cryptclassnullcipher.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/crypt/cryptclassnullcipher.cpp b/src/crypt/cryptclassnullcipher.cpp
new file mode 100644
index 0000000..29e9dd7
--- /dev/null
+++ b/src/crypt/cryptclassnullcipher.cpp
@@ -0,0 +1,21 @@
+#include "cryptclassnullcipher.h"
+
+CryptClassNullCipher::CryptClassNullCipher()
+ : CryptClassBase()
+{
+
+}
+
+void CryptClassNullCipher::encrypt()
+{
+ m_cryptText = m_clearText;
+}
+
+
+
+
+
+void CryptClassNullCipher::decrypt()
+{
+ m_clearText = m_cryptText;
+}