What is the best way to create an encrypted DB by sqlchiper to Android?


#1
  1. Using a DB file that exist?
  2. From scratch?

Thanks!


#2

Hello @naory159

I would recommend you take a look at the SQLCipher for Android tutorial. With regard to converting a plain text SQLite database to a SQLCipher encrypted database, you will want to use the sqlcipher_export(…) function. There is also a SQLCipher for Android test suite for you to review as well.