I need to create a class that will encrypt the text and sends that to PHP server. Then PHP server Decode that.
But problem is that, I don’t know PHP so I can not write code with same logic (as I used in Java) to decrypt the text, so I am fully dependent on codes those are at Internet, but I am unable to find those code with same logic(Same in Java and PHP). I need only DES encryption.
Can you provide me some links or codes, please?
The mcrypt-extension is what you want to use. You will find plenty of examples in the documentatin and the comments.