aboutsummaryrefslogtreecommitdiff
path: root/aes.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-06 22:21:36 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-06 22:21:36 +0200
commit8ee3380a6b116778ccd1a895802465884f58a9b9 (patch)
tree598b40d1483a6ddf3ad29a0e8129540a14c5844a /aes.h
parentaa5365666bb17299035a3d857bcce962004bda1e (diff)
Start AES
Diffstat (limited to 'aes.h')
-rw-r--r--aes.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/aes.h b/aes.h
new file mode 100644
index 0000000..012c9ed
--- /dev/null
+++ b/aes.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <string>
+
+namespace AES{
+
+ enum Algorithm{
+ AES_128,
+ AES_192,
+ AES_256,
+ };
+
+ std::string encrypt(const std::string &key,const std::string &data,Algorithm algo);
+ std::string decrypt(const std::string &key,const std::string &data,Algorithm algo);
+
+}