edits
[iotcloud.git] / version2 / src / C / Crypto.h
1 #ifndef CRYPTO_H
2 #define CRYPTO_H
3 #include "common.h"
4 #include "aes.h"
5
6 class AESKey {
7 public:
8         AESKey(Array<char> *password, Array<char> *salt, int iterationCount, int keyLength);
9         ~AESKey();
10         Array<char> *getKey();
11         WORD *getKeySchedule();
12
13 private:
14         Array<char> *key;
15         WORD key_schedule[60];
16 };
17
18 #endif