Yes, use SSL, preferably with client side certificates.
We are developing a web application using php/java servlets. i would like to pass encrypted variable from PHP application to Servlet using $GET method and decryption from there.
Is there any encryption algorithm to use in both languages?
Edited** How can i Use Mcrypt Algorithm to do this?