Questions tagged [sqlcipher-android]

encrypt/decrypt Android Sqlite DataBase

https://github.com/sqlcipher/android-database-sqlcipher

98 questions
0
votes
2 answers

different Database library with same methods in different flavours Best Practice?

I have two different falvours in my Androdi app that should use different SQL implementations. One use: android.database.sqlite.SQLiteDatabase and second: net.sqlcipher.database.SQLiteDatabase I have methods like that: getAll(SQLiteDatabase…
Artur Latoszewski
  • 735
  • 1
  • 10
  • 21
0
votes
0 answers

Android SQLCipher - attempt to write a readonly database error in android version 5.x and above

I am facing one problem with sqlcipher since last month. In my project I use existing database which is stored in raw folder of resources folder. I open the database by using SQLiteDatabase.openOrCreateDatabase() method. It is working fine in all…
0
votes
2 answers

SQLiteException not an error at net.sqlcipher.database.SQLiteDatabase.dbopen(Native Method)

I am facing an issue while running the junit test cases in android studio. The issue is very strange as when I run the test cases for the first time in the phone it works perfectly fine, but if the app is already installed and when I run the test…
bakriOnFire
  • 2,685
  • 1
  • 15
  • 27
0
votes
1 answer

SQLCipher Database size keeps on growing even after deleting records from table

My Android application uses SQLCipher for a database encryption, as per my project requirement I need to store Bitmap String in my local database which needs to get removed from the database once uploaded to the server successfully. But here I met…
Sonu Singh Bhati
  • 1,093
  • 10
  • 11
0
votes
1 answer

Remove SQLCipher encryption from my existing application's database

I have an Android application which uses SQLCipher for database encryption. The application has gone live and has many active users. I'm looking for a solution which can remove the SQLCipher encryption from application's existing database without…
0
votes
1 answer

Encrypt Spatialite Database using SQL Cipher

I'm currently using a spatialite lib given here: What I want is to encrypt the spatialite database, but the problem I don't know where to start. I'm thinking of using SQLCipher, but If I'am not wrong the sqlcipher replaces all the SQLiteDatabase…
Adolf Dsilva
  • 13,092
  • 8
  • 34
  • 45
-1
votes
1 answer

Smooth migration to encrypted database ( SQLChiper )

I've been using unecrypted data base so far in my app and now I wanted to migrated my database to encrypted database using SQLCipher. Here is my situation. For the next release I'll update the database version and that will execute the script. For…
user2934930
  • 1,076
  • 2
  • 12
  • 26
-3
votes
2 answers

Android and SQLite protection

I have an android app with a SQLite database of 100k+ lines, populated from a *.db file in assets folder. I would like to make harder the database to be pulled out from the device. First, what are the ways for someone to pull the database ? he can…
Julien D
  • 1,259
  • 9
  • 22
1 2 3 4 5 6
7