diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-06 22:21:36 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-06 22:21:36 +0200 |
commit | 8ee3380a6b116778ccd1a895802465884f58a9b9 (patch) | |
tree | 598b40d1483a6ddf3ad29a0e8129540a14c5844a /aes.h | |
parent | aa5365666bb17299035a3d857bcce962004bda1e (diff) |
Start AES
Diffstat (limited to 'aes.h')
-rw-r--r-- | aes.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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); + +} |