I want to implement an application in android (as client) who sends an encrypted string to php server and php server will decrypt that string.
There is no any problem to encryption logic, but I have no idea about how can share my key(if I use AES/ RSA).
Please post some examples or links where I can understand how can I share my keys to server and client.