Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
239 views

I am migrating from net.zetetic:android-database-sqlcipher:3.5.9 to 4.5.4 on my Android project. Here is the given code before update:- public class DatabaseHelper extends SQLiteOpenHelper { ...
Anshuman Biswal's user avatar
3 votes
1 answer
162 views

I'm trying to retrieve a long string saved in my Room database table. But I'm observing that the DAO query only returns the first 5,000 characters of that string. I can see the full 11,000 characters ...
Prof's user avatar
  • 716
0 votes
1 answer
200 views

I am upgrading my android project from library net.zetetic:android-database-sqlcipher:3.5.9@aar to net.zetetic:sqlcipher-android:4.5.6@aar. It runs fine after updating, but while running, if we ...
ashish's user avatar
  • 1
2 votes
0 answers
226 views

I have used saferoom for encryption of Room Db using https://commonsware.com/blog/2017/07/11/introducing-cwac-saferoom.html Now that we are upgrading to https://github.com/sqlcipher/sqlcipher-android ...
Karthi Keyan's user avatar
0 votes
0 answers
86 views

Cipher Encryption is working fine but Database files contains no data when downloaded from Android Studio and open with DB browser for SQLite after implementing SQL Cipher in Room Database val ...
RAGHUL R's user avatar
0 votes
1 answer
118 views

The SQLCipher library uses AES/CBC encryption by default whereas I want to encrypt the data base with AES/CFB encryption with no padding. I have used below statement to change the mode encryptedDB....
user_8275's user avatar
  • 289
2 votes
2 answers
2k views

Error resolving method 'loadLibs' in 'SQLiteDatabase'(SQLiteDatabase.loadLibs();) I am trying to use SQLCipher for android studio, although I have added library to dependencies I get this error. (...
Payman Hamrahi's user avatar
1 vote
1 answer
334 views

I could find a lot of integration samples for old versions of SQLCipher with android and it also works. But I need to integrate latest version of SQLCipher like v4.5.4 because it mentioned that that ...
Dhana_prakash's user avatar
0 votes
1 answer
204 views

I'm able to open a DB using custom parameters set to HMAC = SHA1, KDF = SHA1 and providing the raw key in SQL browser but when using this commands in the SQLCipher CLI I can't decrypt the database. ...
Catfoxes's user avatar
1 vote
1 answer
525 views

I ran into an issue where an application I'm working on has encryption enabled for the Room database, using SQLCipher, but the actual passphrase was not formed securely. I have the new, secure method ...
manabreak's user avatar
  • 5,627
1 vote
0 answers
490 views

I am using flutter mobile framework .Need to encrypt files in database using sqflite_sqlcipher package. can anyone help me out with a sample program?
pooja's user avatar
  • 41
7 votes
1 answer
322 views

I've uploaded my app to play store but it still crashes as "crash report image" of developer console shows. on some devices the app did not lunch at all while on other it crashes when start ...
Saad Seliman's user avatar
5 votes
0 answers
1k views

I want to generate a key and then use it to encrypt Room DB with SQLCipher, but the problem is SQLCipher requires a CharArray as a key to encrypt SQLite data. is there a way to use secretKey instead ...
Mox4's user avatar
  • 81
0 votes
1 answer
1k views

I'm building an app that uses room database and I use SQLCipher to encrypt it. How can I check if the data is really encrypted because it's my first time to use encryption and I don't know if I did it ...
Mox4's user avatar
  • 81
1 vote
0 answers
115 views

I’ve noticed error happening in Google play, I couldn’t reproduce it, but it looks like it happens for small number of users. exception.class.missing._Unknown_: TableInfo{...} at androidx.room....
Ivan Škugor's user avatar
7 votes
1 answer
3k views

Due to security reasons one of the requirement is to encrypt the SQLite database. Hence, i had to use SQLCupher. The application work as expected as long as i do not enable Obfuscation using ...
Zax's user avatar
  • 3,040
0 votes
0 answers
809 views

I am using DBFlow with SQLCipher. I am trying to encrypt the already existing SQLite Database(using DBFlow) with SQLCipher in Android. I used the following code to encrypt the DB: private void ...
Shailendra Madda's user avatar
0 votes
0 answers
293 views

Hello I am using this library since long but without sqlcipher now I have converted my database into sqlcipher and followed all steps which are defined here https://github.com/amitshekhariitbhu/...
bakhtiyar hussain's user avatar
9 votes
5 answers
3k views

I have replaced SQLiteOpenHelper with import net.sqlcipher.database.SQLiteOpenHelper For inserting data into database and getting data from it, I have used SQLiteDatabase db = this.getWritableDatabase(...
Kousalya's user avatar
  • 760
1 vote
0 answers
222 views

I am facing an issue while retrieving the top record for same date from the table. Using the latest version of SQLCipher 4.4.2 & room database version is 2.2.6. id | date_value | product_name | ...
Kishor P.'s user avatar
1 vote
1 answer
738 views

I'm wondering if there a way to add an alternative LibraryLoader for SQLCipher. Some devices as Huawei Enjoy 9s (Android 5.1 rooted) and Nexus 4 (Android 6.0.1 not rooted) produce the next crash: ...
ardiien's user avatar
  • 804
2 votes
1 answer
1k views

I successfully encrypted my Room DB with SQLCipher. I now like to give the user to option to change the DB password. So how can I change the SQLCipher password with Room DB?
dankito's user avatar
  • 1,138
2 votes
1 answer
2k views

In my android app I am using Room with sqlcipher library for encrypt/decrypt. Often I see in Crashlytic the following crash: java.util.concurrent.TimeoutException: net.sqlcipher.database....
alla's user avatar
  • 549
9 votes
4 answers
5k views

My app is currently using room database. I'm tying to migrate to use Sqlcipher data base. I have fallbackToDestructiveMigration() enabled but still throwing the following error java.lang....
Muhammad Nadeem's user avatar
1 vote
2 answers
268 views

I want to secure my sqlite database. I searched a lot but ended up with the suggestions of using SQLCipher. Is there any new advancement in this field other than SQLCipher? Please suggest.
user1517153's user avatar
2 votes
0 answers
1k views

We are seeing a drastic performance loss after using SQLCipher 4.2 in our android app. Even in case we don't provide an encryption key and just use SQLCipher without encryption our app performances ...
Michael Bründel's user avatar
2 votes
0 answers
199 views

I am using SqlCipher in my android application to encrypt the database. My app works in both online and offline and has many DB transactions. I am using SQLCipher 3.5.7 version. I rarely get the ...
Yamuna's user avatar
  • 139
1 vote
1 answer
3k views

I am trying to enable encryption for SQLite database using SQLCipher. Below is my DBHelper and MainActivity code. With this am able create the db and application is also working fine in the emulator. ...
Aditya M's user avatar
0 votes
2 answers
2k views

We have a Mobile app where it was using SQLite before , but due to security purpose we changed it to SQLCipher to provide the encryption , But when i try to install app for the first time it works ...
Amith's user avatar
  • 93
0 votes
0 answers
460 views

I have a DB existing that I copy on the device, and I can access with no problem. The problem, is that I must put a password to it (SQLCipher, I used "DB Browser for SQLite" to put that password), but ...
ΩlostA's user avatar
  • 2,621
0 votes
1 answer
279 views

SqlCipher has profiler. According documentation To turn it on developer should execute: sqlite> PRAGMA cipher_profile='sqlcipher.log'; sqlite> CREATE TABLE t1(a,b); sqlite> INSERT INTO t1(...
raiym's user avatar
  • 1,514
0 votes
2 answers
312 views

Recently we released an android application with sqlcipher, maximum it's working on all android mobiles except few mobiles such as Oppo, Mi....etc even the app is running on few oppo mobiles App not ...
Vijaya Varma Lanke's user avatar
0 votes
2 answers
175 views

I am trying to use SQLCipher within Android. They made it very easy to integrate by adding the dependency: implementation 'net.zetetic:android-database-sqlcipher:4.2.0@aar' They have nice and simple ...
David's user avatar
  • 1,710
0 votes
1 answer
936 views

I have been using Serial Ports and Biometric libraries in my android app successfully before adding SQlite cipher. After implementing an encrypted database...I am suddenly getting this exception. Not ...
Vishal Kumar's user avatar
  • 4,657
0 votes
1 answer
452 views

After updating to SqlCipher version to 4.2.0, I am getting a crash with below backtrace though it was working in previous version 3.5.9. net.sqlcipher.database.SQLiteException: file is not a database
fahad_sust's user avatar
1 vote
1 answer
3k views

I'm using cwac-saferoom version 1.0.4 And some of the devices are getting this issue right after updating the app to a new version. Fatal Exception: java.lang.RuntimeException: Exception while ...
MaTriXy's user avatar
  • 1,757
0 votes
1 answer
4k views

I have integrated sqlcipher in our project a long time ago. Due to some security issue, we have to upgrade the version of sqlcipher. I have gone through this below links https://discuss.zetetic.net/t/...
Ashish Kudale's user avatar
3 votes
1 answer
1k views

I upgraded Sqlcipher for Android from 3.5.7 to 4.1.3 in my app. For the existing database, which has been created with Sqlcipher 3, I need a custom migration as it is based on custom parameters, as ...
Gigi's user avatar
  • 359
0 votes
1 answer
666 views

The size of these libraries really increase the APK size. It’s almost 50% my App size, taking it to 16.3 MBs and when I analyze the APK, sqlcipher-lib alone is 48.9% of my apk size i.e 7.3MBs!!! Is ...
Geek Guy's user avatar
  • 702
0 votes
1 answer
4k views

We are developing Xamarin.forms application and we have to encrypt our database. While googling I found something is 'PRAGMA key'. When I started using this in my code then on opening the db file via ...
user369182's user avatar
  • 2,093
0 votes
0 answers
152 views

So, I have a Cordova app which uses sqlcipher to talk to the database. There is a particular insert statement where I have to insert a lot of data into the Db. So the insert fails giving me the ...
krishnanspace's user avatar
0 votes
0 answers
81 views

i want to create a database from sdcard using SQLiteCipher but gives me not updated date&time from ExternalStorage/RemovableSDCard in Device File Explorer. DBHelpers.Java public class DBHelpers ...
Mr.Kraken's user avatar
  • 106
1 vote
0 answers
259 views

I want to secure the password used for Greendao db with SQLCipher. I am using a keystore to genrate a key and using that key encrypting a password getting from the server. I want to use encrypted data ...
DevDroid's user avatar
2 votes
2 answers
3k views

Any idea why I am having this cannot resolve symbol 'database' in net.sqlcipher. I simply cloned SQLCipher Android Test from GitHub and wanted to test. have also attached the screenshot for ...
Min Soe's user avatar
  • 1,254
11 votes
6 answers
14k views

Error this line : mDataBase = SQLiteDatabase.openDatabase(dbPath, "123", null, SQLiteDatabase.NO_LOCALIZED_COLLATORS); When open the database . but whats Wrong? how to open database with password? ...
Techtunes Apps's user avatar
-3 votes
2 answers
333 views

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 ...
Julien D's user avatar
  • 1,267
0 votes
2 answers
2k views

I'm using sqlcipher to store data from my app and I'm having trouble firstly, generating a secret key and secondly storing in keystore. Btw, needs to be without user interaction like described in ...
Kaigo's user avatar
  • 1,621
0 votes
2 answers
787 views

Working from sqlcipher getting started page, I can't display data from the database and view in a textview. I have initialised the db and queried the db in the click event, but it's crashing during ...
Kaigo's user avatar
  • 1,621
1 vote
2 answers
379 views

I have been following the official documentation in order to start using SQLCipher Community Edition in the apps I´m developing. So, I made a proper gradle import as following: compile 'net.zetetic:...
Mateusz Wlodarczyk's user avatar
8 votes
2 answers
3k views

I have implemented SQLCipher in my Android application to make it's database secure. SQLCipher needs a key to encrypt database file. The problem I am facing is key protection, if my application is ...
Syed Taruf Naqvi's user avatar