You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Nick Parker:
I have some problem about sqlcipher.
1.How to set the default cipher_default_kdf_iter in your source code?
2.I use SQLiteDatabaseHook to set cipher_default_kdf_iter, After I restart my app some times, it always report "CREATE TABLE android_metadata failed,SQLiteException: file is encrypted or is not a database". My old databases become invaild.
3.I has set cipher_default_kdf_iter to 4000, the method named openOrCreateDatabase spend about 180ms; But when the phone reboot, this method go back to 1800+ms;
I search the problems in google groups,try a lot of methods, none works.
Do you have some better advice?
The text was updated successfully, but these errors were encountered:
You can set cipher_default_kdf_iter using a SQLiteDatabaseHook, invoking it via PRAGMA on the preKey function. For questions 2 & 3, are you doing it as I just described? These questions are best placed on the SQLCipher mailing list here.
Hi Nick Parker:
I have some problem about sqlcipher.
1.How to set the default cipher_default_kdf_iter in your source code?
2.I use SQLiteDatabaseHook to set cipher_default_kdf_iter, After I restart my app some times, it always report "CREATE TABLE android_metadata failed,SQLiteException: file is encrypted or is not a database". My old databases become invaild.
3.I has set cipher_default_kdf_iter to 4000, the method named openOrCreateDatabase spend about 180ms; But when the phone reboot, this method go back to 1800+ms;
I search the problems in google groups,try a lot of methods, none works.
Do you have some better advice?
The text was updated successfully, but these errors were encountered: