I'm working on a project that take the GPS location every 5 seconds and send it to the server, but i need to make a little of security, so i need to encrypt the location in android device and decrypt it in server side, so i'm searching for a simple algorithm to do this Thanks in advance
Asked
Active
Viewed 407 times
0
-
Something like AES... – Frank Mar 17 '13 at 21:21
-
[Possible duplicate](http://stackoverflow.com/questions/3150830/android-encryption) – funtime Mar 17 '13 at 21:24
1 Answers
0
The ideas for you to try:
- Send your data over HTTPS. It will add the layer of security you need and it's one of the simplest methods available.
- Use Java Encryption API with asymmetric cryptographic algorithm like RSA. You should probably avoid using AES or similar symmetric algorithm because you should not store passphrase in your Android app - it could be quite easily compromised.

kamituel
- 34,606
- 6
- 81
- 98