I am using a singleton object to perform database operations. I made bulk insertion demo and made insertions by both SQLCipher library with empty encryption key("") & DataBaseHelper.
I observed that DataBaseHelper is taking less time than SQLCipher for bulk insertions.
Can you please elaborate what extra things is the SQLCipher doing at the time of db operations. Is there any way to overcome this issue? Note: I have 4 databases, 2 out of 4 are needed for encryption and other 2 without encryption. But I am using common access helper class for both these types of Databases. Where encryption is not required, I pass ("") empty string as an argument to open database.
After examining both SQLCipher and android default DatabaseHelper, I came up with a conclusion that, SQLCipher takes sightly more time than DataBaseHelper for db operations.
Kindly, suggest me with solutions.