I have a server that sends me a database with 1.x database. I am able to decrypt using 1.x SQLCipher. I would like to use the latest version of SQLCipher. Please let me know how can I decrypt a database which is created using 1.x SQLCipher. Any help will be grealty appreciated.
Failed to setLocale() when constructing, closing the database net.sqlcipher.database.SQLiteException: file is encrypted or is not a database
Hello @sjanardhanan - there are two options here:
I am new in using SQLCipher. Could you be able to provide me statements in SQLitedatbaseHook so that I can understand. Your help is greatly appreciated.
Hello @sjanardhanan - here is a concise example from the SQLCipher for Android test application:
Thanks a lot. I found the same example and it worked… thanks a ton
One more small question. Will there be slowness due to migration? Does this migration happen everytime or only oncce?
Hello @sjanardhanan - yes, there is a definite performance impact from the migration. it would be best to track whether the database has been upgraded separately, i.e. in an application preference or something, so that you can selectively run the migration only when necessary.
I have another database that needs to be migrated and attached to main database ( both are encrypted). Please let me know if there is a solution for the same