42 #ifndef _DWMAUTHSYMCRYPTO_HH_ 43 #define _DWMAUTHSYMCRYPTO_HH_ 61 std::string
Encrypt(
const std::string & keystr,
62 const std::string & ivstr,
63 const std::string & plaintext);
73 std::string
Encrypt(
const std::string & keystr,
74 const std::string & ivstr,
75 const uint8_t *plaintext,
86 std::string
Decrypt(
const std::string & keystr,
87 const std::string & ivstr,
88 const std::string & ciphertext);
96 #endif // _DWMAUTHSYMCRYPTO_HH_ std::string Encrypt(const std::string &keystr, const std::string &ivstr, const std::string &plaintext)
Encrypts the given plaintext using AES.
std::string Decrypt(const std::string &keystr, const std::string &ivstr, const std::string &ciphertext)
Decrypts the given ciphertext using AES.