diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-03-11 16:47:05 +0400 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-03-11 16:47:05 +0400 |
| commit | e261782473194273bf29eb033419501d7baf61be (patch) | |
| tree | c203598d20746de24f1a635293f2b2ceea86af48 /CryptClass/AESCrypt.hpp | |
| parent | 0b16b8eb9ae5e183d9e5146b3fa268844d69a88b (diff) | |
Change AESCrypt to support mutiple key type (string and byte)
Diffstat (limited to 'CryptClass/AESCrypt.hpp')
| -rw-r--r-- | CryptClass/AESCrypt.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CryptClass/AESCrypt.hpp b/CryptClass/AESCrypt.hpp index 455eed0..58642c1 100644 --- a/CryptClass/AESCrypt.hpp +++ b/CryptClass/AESCrypt.hpp @@ -67,6 +67,11 @@ class AESCrypt : public AbstractSKA { */ virtual std::string decrypt(std::string key, std::string data); + std::string encrypt(byte* key, std::string data); + + std::string encryptRoutine(std::string data, byte* digest, int size); + + private: HASHCrypt hash; ///< hash instance to generate SHA-256 hash code. |
