aboutsummaryrefslogtreecommitdiff
path: root/aes.h
diff options
context:
space:
mode:
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);
+
+}