hi all,
I want to know the any Encryption-Decryption Algorithm (procedure) that can be implemented in C#.net as well as in Java. I have came accross a situation where, the data is encrypted by a C# code implemented using RSA using "RSACryptoServiceProvider" class and put it in Database. Now , I need to decrypt the same data in the Java reading it from Database.
While implementing RSA Decrypt method in Java its not working, (I made sure using the same keys). Following method has been used in C# for encryption.
http://www.codeproject.com/KB/security/RSACryptoPad.aspx
Hence, I need to know any standard algorithm for encryption, that can be used in C# and Java so that data can be encrypt - decrypt across the each other platform.