blob: 012c9ed1bcee3bffcd49f19c9a4632ecd24ac763 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
}
|