Page 1 of 1

Coding DES in php and java dos not match !

Posted: Wed Oct 19, 2005 6:22 pm
by miladmovie
Hello
I use http://php.morva.net/manual/en/function ... eneric.php and http://php.morva.net/manual/en/function ... eneric.php function to encrypt my string in php and send it to java but the result dos not match !
Should I do anything else ?
for example

Code: Select all

Original: Milad
Encrypted: $:ß´ì8’ó
Decrypted: Milad
but in java did not get this result to decrypt?!

Posted: Wed Mar 29, 2006 7:03 am
by shankimout
use base64 & rotate13 encrypt & decrypt function my friend :D