Invalid PKCS #7 block padding when using Crypto++
问题 We are using cryptopp library. We are using the below coding. Encryption is working file without any issue and we are able to get the cipher text. But getting an error while decrypting as "Block padding found". What could be the issue...? #include <iostream> #include <string> using namespace std; #include "cryptlib.h" #include "filters.h" #include "files.h" #include "modes.h" #include "hex.h" #include "aes.h" #include "osrng.h" using namespace CryptoPP; using CryptoPP::AutoSeededRandomPool;