开发者

Encrypt a chain and send it to a php server in android

I need to send a chain encoded (with Java) thought http post and decode it once received in the php server. How 开发者_开发知识库can I do it?

The security level required is low-mid


For low security I would say make sure your java client and php code have the same passphrase and just use DES excryption. An example of encrypting using DES in Java, Php Example The excryption type you use doesn't matter as long as both your java client and php server have the same passphrase.


Here is one example of Java/php encryption:

http://schneimi.wordpress.com/2008/11/25/aes-128bit-encryption-between-java-and-php/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜