My target is to read and securely post high scores by REST from an Android game. I found a question and a good proposal as answer.
I have a question to the accepted answer. I would hard code the secret key into the app and use it to md5 encrypt the url. The result is appended to the url itself as parameter (see answer of linked posting). When I additionally use SSL, I think it would have no benefit for my case. I would need to use a private key too and when someone cracks and reverse engineers my app, he would get the private SSL key and the secret key. I don't send passwords or some critical data, just a name a user typed in or a nickname with a score and maybe a country. People with a rooted phone could see the URL, but the can't fake the high scored on the server with this approach, don't they? So if I omit SSL and just use HTTP instead of HTTPS, it wouldn't have any disadvantage to me, right? Or is there any problem with this approach I didn't think about? (I would like to omit SSL if possible, because it's easier to implement and this issue with the US export regulations when using encrypted apps in Google Play is too cumbersome to me for just sending high scores to a server).