Open AlaghbariKamel opened 1 year ago
Make sure that the keys you use to encrypt and decrypt are the same. The padding method even if not explicitly set should still allow for proper decryption/encryption (if not set they will be the same). However if you for some reason are using a different set of keys for decryption than used for encryption you will get this error:
Padding is invalid and cannot be removed
I see c sharp says don't use its buggy! Is it fixed?
Where did you seen that?
It's about c++, not about c sharp
System.Security.Cryptography.CryptographicException: "Padding is invalid and cannot be removed."