Questions tagged [sqlcipher]

SQLCipher is an open source extension to SQLite that provides transparent 256-bit AES encryption of database files.

SQLCipher is an open source extension to SQLite that provides transparent 256-bit AES encryption of database files. SQLCipher has a small footprint and great performance so it’s ideal for protecting embedded application databases and is well suited for mobile development.

  • Blazing fast performance with as little as 5-15% overhead for encryption
  • 100% of data in the database file is encrypted
  • Uses good security practices (CBC mode, key derivation)
  • Zero-configuration and application level cryptography
  • Broad platform support: works with C/C++, Obj-C, QT, Win32/.NET, Java, Python, Ruby, Linux, iPhone/iOS and Android
  • Algorithms provided by the peer reviewed OpenSSL crypto library.

Useful Links

591 questions
4
votes
2 answers

Android Nougat: Detected problems with app native libraries

we just upgrade our Nexus 96 to Android N and now get the following popup while working with our app: give me some suggestions
Pinki
  • 21,723
  • 16
  • 55
  • 88
4
votes
0 answers

Compiling SQLCipher for Windows

I used cygwin to compile SQLCipher. Package Devel is installed, also OpenSSL is installed. Dynamic linking: ./configure --disable-tcl CFLAGS="-DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_OPENSSL" LDFLAGS="-lcrypto" Output: checking build system type...…
Farrell
  • 53
  • 5
4
votes
0 answers

Secure text of Android APP so that no one can copy it

I am developing android application. It contains lots of pages and text on those pages. I do not want user to copy these text using any mechanism like obtain text from APK. User can make snapshots and extract text, but I will make sure that it…
Vishal
  • 339
  • 1
  • 9
  • 26
4
votes
2 answers

MySQL encryption library similar to SQLCipher

I'm working on encrypting some database fields. By encrypting of course I lose some search functionality. I found this library called SQLCipher which handles the encryption at the database level, but it's for SQLite. Is there something similar for…
cooper
  • 1,554
  • 1
  • 14
  • 26
4
votes
3 answers

SQLCipher can't open database after apprestart

What I'm trying to do In the app I'm creating we're saving secret user data that needs to be encrypted. For that we'd like to use SQLCipher. We've implemented as in the documentation. Now I'm facing following problem. If I create the database for…
safari
  • 7,565
  • 18
  • 56
  • 82
4
votes
1 answer

Can someone explain me the compilation step in making a sqlcipher binary file?

I am new to compiling and want to create a binary file of sqlcipher for use in hybrid android apps. I am stuck here Building SQLCipher is almost the same as compiling a regular version of SQLite with two small exceptions: You must define…
Amron
  • 197
  • 1
  • 9
4
votes
2 answers

SQLCipher change DB password with rekey

I'm using SQLCipher on Android to get an encrypted database. The DB gets an default password which is based on some hardcoded value. The user can also set a pincode on the app. When a user does that I also want change the DB password being used by…
Aegis
  • 5,761
  • 2
  • 33
  • 42
4
votes
2 answers

SQLCipher and passphrase for encryption

I have recently changed my app to use SQLCipher API rather than the standard android.database.sqlite. Originally a user would type their username and password when logging into the app for the first time. The app verifies the credentials against…
turtleboy
  • 8,210
  • 27
  • 100
  • 199
4
votes
3 answers

Warnings with a new Xcode project using FMDB, SqliteCipher and CocoaPods

I have installed CocoaPods.. and loaded the workspace as instructed. I am getting these warnings which I do not understand, here is an…
Nate Uni
  • 933
  • 1
  • 12
  • 26
4
votes
2 answers

Converting sqlite to encrypted database:

I've an existing sqlite database in my application. It running successfully. Now i need to encrypt the database using sqlcipher. My problem is at the time of converting sqlite to encrypt i got the following…
Amsheer
  • 7,046
  • 8
  • 47
  • 81
4
votes
2 answers

SQLCipher for Android getReadableDatabase() Overherad

I've modified my DatabaseHelper class to use the SQLCipher library. To do that, I: Copied the assets into my assets folder and the libraries (armeabi, x86, commons-codec, guava-r09, sqlcipher) into my libs folder. Changed the imports in my…
user1987392
  • 3,921
  • 4
  • 34
  • 59
4
votes
1 answer

sqlcipher 'open' performance with cordova and Cordova-SQLitePlugin

I have a sqlcipher DB which is relatively complex (27 tables) but with little entries (between 50-200 entries per table). When I'm running a SELECT statement (same with the corresponding view), joining 3 tables, doing a couple of "LIKE's" (optimized…
Chris
  • 580
  • 5
  • 17
4
votes
5 answers

Getting NoClassDefFoundError while trying to use Proguard and SQLcipher in Android

I am getting a ava.lang.NoClassDefFoundError: net/sqlcipher/CursorWindow when trying to run my app using sqlicipher and proguard. The project works perfectly without proguard enabled. The first time I use sqlcipher to create a new db I get the error…
user3229146
4
votes
3 answers

Android Proguard SqlCipher NoClassDefFoundError

Have been battling with Proguard all day and have tried many examples and solutions on the official Proguard site as well as StackOverflow. I have a large project I need to obfuscate, which has a number of referenced library projects and Jars. I am…
pilgrim84
  • 43
  • 1
  • 4
4
votes
2 answers

Android SqlCipher Performance issue

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…
windfly2006
  • 1,703
  • 3
  • 25
  • 48