AES Encryption Java -> PHP -> Java

前端 未结 2 2075
天涯浪人
天涯浪人 2021-02-10 05:32

In my Android app I am communicating with a web service the data sent and responded are encrypted with AES encryption.

So what I do is the following. I\'m sending a base

相关标签:
2条回答
  • 2021-02-10 05:50

    I suggest you take a look at http://phpaes.com/. It's a free AES encryption library implemented purely in PHP; it's fast and very very simple to use.

    At the very least, it allows you get one step closer to isolating the true source of the issue.

    0 讨论(0)
  • 2021-02-10 06:06

    This might not be the answer you're looking for - but is there a specific reason you're manually encrypting this data instead of using SSL/HTTPS?

    In most cases HTTPS will be easier to implement and more secure than manually implementing a symmetric cipher.

    0 讨论(0)
提交回复
热议问题