title: Android and PHP server: encrypt and decrypt data
body: <p>I have an Android application that communicates with my own server. Since we don't have https, I want to implement my own data encryption. The server is implemented in PHP.</p>
  
  <p>I wanted to use AES, but my main problem is sharing the server key with the local application, since it could be intercepted and then anyone could decrypt my messages. </p>
  
  <p>Should I use RSA instead? or there is a secure way of sharing the key?</p>
  
  <p>Thanks!</p>