Android database encryption

user121196 picture user121196 · Feb 5, 2010 · Viewed 87k times · Source

Android uses SQLite database to store data, I need to encrypt the SQLite database, how can this be done? I understand that application data is private. However I need to explictly encrypt the SQLite database that my app is using.

Answer

vaichidrewar picture vaichidrewar · Sep 7, 2011

SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files.

Earlier sqlcipher which is Open Source Full Database Encryption for SQLite was not available for android. But now it's available as alpha release for android platform. Developers have updated the standard android application 'Notepadbot' to use SQLCipher.

So this is definitely the best and simplest option as of now.