FAQ Database Discussion Community

Steps to decrypt encrypted data in Crypto++ in libgcrypt

I need to decrypt the encrypted data by Crypto++ in libgcrypt due to C language restriction on target platform. So I've decided to use libgcrypt since it supporting the AES128 and GCM mode. In Crypto++, the data is encrypted this way: std::string encrypt_data(const std::string &data, const std::vector<unsigned char> &iv, const...