SonofonoS
October 22nd, 2004, 04:58 AM
Hi
I'm trying to make some encryption between a c# application and a java application. I'm making a public, a private and a netpublic key from the java applikation. I provide the netpublic key to the c# application. I can then encode string and put it in a file. When I then try to decode with the java application I just get alot of ****! To say the least. :)
I can't understand why it won't decode the right way. Isn't it the right keys Im using.
The source code for the applikations
http://wendelbo-hansen.dk/Encrypt.cs
http://wendelbo-hansen.dk/afkryptering.java
http://www.wendelbo-hansen.dk/spasserkryptering.java
Hope someone knows whats wrong
SonofonoS
Im posting this in the java-section too, cause it fits there too,
I'm trying to make some encryption between a c# application and a java application. I'm making a public, a private and a netpublic key from the java applikation. I provide the netpublic key to the c# application. I can then encode string and put it in a file. When I then try to decode with the java application I just get alot of ****! To say the least. :)
I can't understand why it won't decode the right way. Isn't it the right keys Im using.
The source code for the applikations
http://wendelbo-hansen.dk/Encrypt.cs
http://wendelbo-hansen.dk/afkryptering.java
http://www.wendelbo-hansen.dk/spasserkryptering.java
Hope someone knows whats wrong
SonofonoS
Im posting this in the java-section too, cause it fits there too,