0

I have two applications:

  • Windev app which generates a secret key.
  • Java app which receives and uses the key.

I want to encrypt the key in Windev and decrypt it in my java application.

Now Windev supports these encryption types: cryptAnsi, cryptFast, cryptRC516, cryptSecure. More details here.

I want to know Which of these encryptions can be decrypted in Java.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Elyess Abouda
  • 659
  • 12
  • 20
  • Based on the windev link you provided, perhaps you should download the wd160java.jar file and include that in your project? – radimpe Feb 27 '12 at 11:14

2 Answers2

0

You should use the same library to generate and use your key. You can use a java library in your windev application using javaload() function. Doing this, you will add a new dependency (jvm.dll) to your windev application but you will be sure of what type of encryption is used. I have already tried to get information from pcsoft(windev editor) about it but never got it.

kranteg
  • 931
  • 1
  • 7
  • 15
0

The default of 'cryptFast' that implements the Blowfish algorithm can be used with the BouncyCastle encryption library.

radimpe
  • 3,197
  • 2
  • 27
  • 46