Coding DES in php and java dos not match !

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
miladmovie
Forum Newbie
Posts: 2
Joined: Wed Oct 19, 2005 6:15 pm
Location: Iran - Bushehr
Contact:

Coding DES in php and java dos not match !

Post 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?!
User avatar
shankimout
Forum Newbie
Posts: 3
Joined: Wed Mar 29, 2006 6:21 am
Location: Iran ( Mazandaran )
Contact:

Post by shankimout »

use base64 & rotate13 encrypt & decrypt function my friend :D
Post Reply