Wrong AES decryption when trying to decrypt in another language
问题 When I try to Encrypt in C++ and decrypt in C# it gives me an error The input data is not a complete block But It doesn't make any sence to me, because if I try to decrypt the message in C++, the same language as I made the encryption it works fine. So, some code from the C++ part: int main(int argc, char* argv[]) { std::string szEncryptionKey = "Sixteen byte key"; std::string szEncryptionIV = "Sixteen byte key"; std::string str = "I do not like green eggs and ham I do not like them Sam-I-Am.