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
0
votes
0 answers

sqlcipher SQLiteException: not an error on api 11

I'm using sqlcipher for encoding my database . I've added the libraries and jar files and it works fine on api 18 and 16 but It gives me this error on api 11 : java.lang.RuntimeException: Unable to start activity ComponentInfo{}:…
user3718930
  • 381
  • 1
  • 8
  • 19
0
votes
1 answer

Special character Sqlcipher

I'm using the Sqlcipher library to encrypt my Database in Android. Everything is ok when i create or open the database but if in my script before encrypt the data base there a special character, the encrypt is putting a "?". INSERT INTO…
0
votes
1 answer

How to get sqlite file name in SQLAlchemy engine connect event

I am using following code to set secret for sqlcipher version of sqlite. It has to be the first command sent to database. Therefore I can't use PRAGMA database_list; to get the filename, because I don't know if this sqlite file is encrypted or not.…
Jarda
  • 1,188
  • 1
  • 7
  • 12
0
votes
1 answer

OSX with xcode 5 - Application not behaving the same way when xcode is open using sqlcipher

Disclaimer: Not sure whether or not this is a linking issue between my project and sqlcipher, my lack of knowledge towards how a program is run when xcode is open, or if my code is incorrect. I have a working mac osx application when it is run on…
apollow
  • 1,250
  • 2
  • 14
  • 22
0
votes
1 answer

App crashes on Android kitkat OS

Some of my apps published on play store getting crashed on android version 4.4 and onwords Same apps worked on other versions of Android. Is this issue related to os or something else?
Nitin
  • 61
  • 5
0
votes
1 answer

Combine Ormlite with SQLCipher Android

I would like to use ORMLite with SLQCipher. I followed the instruction of ge0rg in this link: How can I use ORMLite with SQLCipher together in Android? but in step 4, I don't know how to add a password, because in the source…
0
votes
1 answer

SqlCipher attempt to write a readonly database

I am attempting to implement Sqlcipher for android. I am using this for multiple activities and as such am extending SQLiteOpenHelper {}. However I am I am aware that the OnCreate override method is not called until the database is accessed for…
user1874538
  • 262
  • 2
  • 15
0
votes
1 answer

Move unencrypted tables to encrypted sqlite database

I want to know how to transfer my unencrypted sqlite tables to encrypted sqlite database. I'm using sqlcipher to encrypt a database. I've tried this code, but it didn't work. NSString *databasePath =…
user3300758
  • 275
  • 1
  • 4
  • 13
0
votes
2 answers

android-SQLCipher -Application did not close the cursor or database object that was opened here

I used to have a database and there was no error , My database comes from the asset folder , it's already coded with SQLCipher after that ,in all of my activities I get this error that the cursor or database is open and didn't closed .…
user3718930
  • 381
  • 1
  • 8
  • 19
0
votes
1 answer

How to SQLCipher for a pre made database

I have a 15mb database . I need to encrypt it , so it can't be readable easily . I'm using SQLCipher , it works fine for a new database but I've made my database and I need to encode it now . How can I do so ? My database is in asset folder or…
user3718930
  • 381
  • 1
  • 8
  • 19
0
votes
3 answers

Implement sqlcipher-for-android

Hi I try to implement sql cipher. I use the code from github from here(https://github.com/sqlcipher/android-database-sqlcipher). Extract the source code and import it into eclipse. But it's not running. I got the following exception . Please anyone…
Amsheer
  • 7,046
  • 8
  • 47
  • 81
0
votes
1 answer

Compilation Shell Script Invocation Error SQL Cipher Xcode

Building with xcode 5 and ios sdk 6.1 Subprojects - SQL Cipher , SSL Crypto Compiling Succeeds BUT with 2 errors : i386/_types.h - not found libsqlcipher.a - not found and in products(under its project its in red - missing) Tried everything to…
Avi Shim.
  • 1
  • 2
0
votes
0 answers

Cursor.moveToNext occasionally throwing unexplained exceptions

We are using SQLite (actually SQLCipher) on Android 4.4.2 (Nexus 7 tablets) within an obfuscated (Dexguard) Android application. We have ContentProviders to access the SQLite/SQLCipher database. One of these ContentProviders returns messages from…
Swampie
  • 165
  • 1
  • 1
  • 9
0
votes
1 answer

SQLCipher for android: couldn't find native method

I'm trying to use the SQLCipher library but always get the same error. I have a very small class to test the library: import android.database.Cursor; // Uncomment to use sqlite //import android.database.sqlite.SQLiteDatabase; //import…
jmatamoros
  • 514
  • 1
  • 5
  • 14
0
votes
1 answer

Android - What is the Best/Efficient way of converting an Encrypted database to a plain database file

I have used SQLiteCipher to add security to my application database, the problem is, it is way too slow than the default android SQLite API. So I switched back to the default SQLite API, but I really need the security provided by SQLCipher, so What…