i am working on a prototype where i need to encrypt the data in java and the encrypted data need to decrypt in dotnet. the keys are generated in .net/java (doesn't matter). I am able to persist the keys in a flat file (xml file). I am able to do this in java and .net. loading the keys and encryption/decryption is made possible only with their respective (java should load java generated keys and same for dotnet) public and private keys loaded.
I am getting negitive results when i trying the encrypt the data in java and decrypt the encrypted data in dotnet. could you please let me know whether this is feasiable or not?