0

I wrote my sqlite database then i imported to my application, I used this ,and it works fine.

after that I recognized that my database is unencrypted, so with any root phone can access it.

so i suggested this way:

1- encrypt my database with key then

2- return it to my application then

3- use encryption key in my code to decrypt database then

4- I use proguard to encrypt my code(because my code has the encryption key).

does this way is correct?

yes, how to do it?

no, what I must to do?

I read about sqlcipher, but I think this technique to encrypt database from creation.

Community
  • 1
  • 1
mouayad
  • 443
  • 3
  • 10

1 Answers1

0

is Full Database Encryption for SQLite

sqlcipher

here is example

Naveen Tamrakar
  • 3,349
  • 1
  • 19
  • 28