dopmgo4707
dopmgo4707
2011-07-19 05:41

PHP和Servlet的加密算法

已采纳

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?

Regards

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • dongwuxie7976 dongwuxie7976 10年前

    Yes, use SSL, preferably with client side certificates.

    点赞 评论 复制链接分享
  • duancai7568 duancai7568 10年前

    Any encryption algorithm can be used in any language. For HTTP requests the best option would be to use HTTPS - it will require configuration, rather than coding.

    点赞 评论 复制链接分享

相关推荐