Just to close out this thread, SQLCipher does not rewrite standard SQLite databases with encryption using sqlite3_key. It is necessary for the application to use an attached database to copy data between standard and non-encrypted databases (e.g. with the sqlcipher_export() function). Please see this related post for more details: