Hello Guys,
I am having some padding issues in .net AES Encryption. If i try to decrypt the string which was encrypted in Java I am getting Invalid Padding error.
Java is using AES Encryption, Mode is ECB and Padding is PKCS5. I also used the same methodology in C# but used PKCS7 padding since S5 is not available in .net. I have the encrypted string and also the Secret key which was created using Java.
String: 41111111111111111111
Encrypted String: +adguYoj5tpPISaPfRt/2EZclJl+y3z6TuBppK7uAwU=
Secret Key: Dz95mH1tOySrMlGLhUaICQ==
Please let me know if you know the solution to this problem.
Thanks
Rachappa
...
Go to the complete details ...