Crypto help

  
Hello everybody,

i was trying to use the Crypto extension but without success. I'm able to encrypt the data but i'm unable to decrypt it back. The only thing i get is a bunch of weird chars.
See the image and the example oml atached.


I'm using the same password in encrypt and decrypt. Is this the correct way?
Can someone tell me what i'm doing wrong?


Cheers
Eduardo Luís
Not sure,

At least I suggest to make a 3rd variable to place the decrypted text in.
and with debugging you see the same result or is it just on screen?

Furthermore, which platform-server are you using?

Joost Landgraf wrote:
Not sure,

At least I suggest to make a 3rd variable to place the decrypted text in.
and with debugging you see the same result or is it just on screen?

Furthermore, which platform-server are you using?
 
 
Thanks for the debug and 3rd variable tip, but with debugging i see the same thing. 

I'm using platform-server version 7.0.0.15 for Java.
Interesting.
Sadly I cannot test it on our server, because I am using a different stack.

But I think there might be an issue in the xif itself. Better mail support about :)
Get the Crypto extension from the latest version of Enterprise Manager for 5.0. It contains a fix for that precise problem: "Fixed problems in the Crypto extension for the Java Version (#259425)"
Ricardo Silva wrote:
Get the Crypto extension from the latest version of Enterprise Manager for 5.0. It contains a fix for that precise problem: "Fixed problems in the Crypto extension for the Java Version (#259425)"
 
 Thanks, problem solved.