Skip to content Skip to sidebar Skip to footer

Migrating Sqlcipher Ver. 2.x Db To Ver. 3.x Using By Fmdb

I saw the following page and I understand I should execute the query 'PRAGMA cipher_migrate'. https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_migrate But I have no idea how

Solution 1:

I think you need to set cipher key right after connection and before any execution.

Also if you use

PRAGMAkdf_iter=4000

you don't need to use

PRAGMA cipher_migrate

Post a Comment for "Migrating Sqlcipher Ver. 2.x Db To Ver. 3.x Using By Fmdb"