summaryrefslogtreecommitdiffstats
path: root/src/crypt/cryptclassnullcipher.cpp
diff options
context:
space:
mode:
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;
+}