.NET to Java Encryption
843810Sep 23 2002 — edited Dec 17 2002Hello,
I have seen this question asked in several places, but never seen a good answer (or any answer for that matter).
I am trying to do a very simple (sounding) task. I want to encrypt a piece of text in C# to a file, using one of the symmetric algorithms (trying RC2 right now), and also save the startup values for it (IV and key for RC2) into a file. I then want to read in those values in Java, create a Cipher that will use these values, and decrypt the encrypted file. I am using the Bouncy Castle provider jar, but am open to all (free) providers.
I have tried to do this several different ways, but never seem to be able to decrypt the data. Help me Obi-Wan, you're my only hope.
Thanks in advance.
kalu