We integrate the SqlCiper sqlite db into our Android project. What we found out that there is some big difference of db query performance in unecrypted SqlCiper sqlite db and encrypted SqlCiper sqlite db.
We just did some basic timing logging at our code on same Android device:
- unencrypted SqlCiper db: 100 db query, total time: 1-2 seconds
- encrypted SqlCiper db: 100 db query, total time: 17 seconds.
As you could see that there is big increase in the running time when encryption is turned on in SqlCiper database.
Based on this post: SqlCiper Performance and SqlCiperSpeed, we won't see such big increase on iOS, however I didn't see any performance number on Android.
Do you guys see the same issues as we saw? Any suggestions to improve it?