diff options
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. |
