-
Notifications
You must be signed in to change notification settings - Fork 568
the speed of the methos named SQLiteDatabase.openOrCreateDatabase became slower now at version 3.0.1 #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello cczscq, The kdf iteration length was changed from 4,000 to 64,000 in the 3.0.0 release of SQLCipher. This change increases the security, however does increase the amount of time required to derive the key upon opening the database. More information about the release can be found in our blog post covering the release. |
Thanks.Because I need open some database,I want to build your souce codes to gen jar and *.so.How do I change your defaut kdf_iter in source code? Could you give me some advice to change it? |
Hello cczscq, You do not need to rebuild the source with a different kdf iteration length, there are two possible alternatives:
Option 2 provides a more secure database configuration. You can read more about these changes in our 3.0.0 blog post here. |
Hi Nick Parker: I search the problems in google groups,try a lot of methods, none works. |
Hello cczscq, I replied to your same questions on ticket #118. Please consider moving this to the SQLCipher mailing list. Thanks! |
Thanks, a lot. |
When I used sqlcipher at version 2.x,openOrCreateDatabase spent 180 millisecond.
Now for the kitkat, I update sqlcipher to version 3.0.1.
At this version, the speed is about 1800+.I do not find what has changed. Maybe some changes have affected it. Do you test the method between these versions? Please give me some advice to optimize it. Thanks.
The text was updated successfully, but these errors were encountered: