Migrating sqlcipher version for ios project

I used an older version sqlcipherand open sslapplication. Now I upgraded to a new version for compatibility Xcode 5and iOS 7but did not decrypt the older version of the database.

Please help me. I searched on google and found that I needed to use something like cipher_migrate, but not knowing how to use it.

+3
source share
1 answer

The command PRAGMA cipher_migratecan be used to upgrade standard SQLCipher 1.x and 2.x database formats to version 3.x. The pragma should be called after entering the database. The documentation for it can be found here .

0
source

All Articles