Android encrypts json data over the Internet

My application will often connect to a web service to get some data in json.

Is there a way that this data can be encrypted on the server side and decrypted on the application side so that the transmitted data is safe and secure?

In addition, if the application has its own database (sqlite db file), is it possible for any of these applications to see this database (tables, fields and contents)?

Regards, Sapan

+3
source share
3 answers

The easiest way to transfer encrypted data is to use SSL (i.e. https) to communicate between the application and the web service.

( , ), , , . . SO .

, , . , , , , . , , . , .

SSL- .

+4

/ json android, . . Base64 , . . , .

http://www.androidsnippets.com/encryptdecrypt-strings

+1

Base64 .

- Base64. Google , .

Android, .

API 8 : http://developer.android.com/reference/android/util/Base64.html

For below: http://www.frankdu.com/notes/2011/01/27/base64-encoding-with-android-2-1-or-earlier/

You can also write your own encoding and decoding systems .;)

-4
source

All Articles