Android database encryption

android, database, encryption, sqlite

Solution

See SQLCipher —

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.

Problem

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.

Original source