Coding DES in php and java dos not match !
Posted: Wed Oct 19, 2005 6:22 pm
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
but in java did not get this result to decrypt?!
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