Try SQLiteEncrypt. The SQLiteEncrypt is the AES encryption engine built into SQLite so you can encrypt and decrypt the SQLite database file. When you set a password key in a database file, the contents are no longer stored in clear text, so we achieve the goal of data protection.
But it is not free.
Note: But this is not for iOS (thanks Brad for pointing this out).
* Editing ***
For iPhone, you can use SQLCIPHER , which is a complete open source database encoding for sqlite.
source
share