How to encrypt data in Java using DES and decrypt that data into PHP
My Android application needs to encrypt data into java (using DES) and send that to server, at server side I am using PHP, so it will require to decrypt that data into PHP. So how it will be possible?
Edited : If AES should be better , then how can I ma开发者_如何学编程ke encryption and decryption methods which can work in JAVA as well as PHP.
I did encryption and decryption in JAVA or PHP. But I have no idea about if I encrypt data into JAVA then how can I decrypt that data into PHP.
The encryption/decryption algorithms doesn't change, no matter which language you use. Just use the encryption and decryption libraries available in the corresponding languages, you should be fine.
精彩评论