objective c - Don't know how to encrypt database using SQLCipher -


i have included sqlcipher project explained in link: http://sqlcipher.net/ios-tutorial/

but not sure how encrypt database have read description above link not getting.
doing if application opening first time copy database(i.e. without encryption) document directory. 1 more thing database blank when copying bundle document directory.
have tried use sqlite3_key function after opening database nothing encrypted. didn't found how encrypt database when copying bundle document directory. planning use fmdb better reply according that.
please guide me how or point direction if there tutorial it. suggest should standard approach that.

instructions in sqlcipher api page [1] using sqlcipher_export(), under "example 1: encrypt plaintext database"

[1] http://sqlcipher.net/sqlcipher-api/#sqlcipher_export


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -