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
1 answer

SQLCipher commercial version and FTS3

I'm already using FTS3, after adding sqlite amalgamation as static library end enabling FTS3 (following this tutorial http://longweekendmobile.com/2010/06/16/sqlite-full-text-search-for-iphone-ipadyour-own-sqlite-for-iphone-and-ipad/). The database…
laucel
  • 509
  • 1
  • 5
  • 17
0
votes
1 answer

Updating SqlCipher from 1.1 to 2.2.2

I am trying to update the sqlcipher from version 1.1 to 2.2.2. The new version of the sqlcipher works fine in a fresh install or when i run it from eclipse. But when I update the app which was previously using v1.1 sqlcipher with new v2.2.2, the…
0
votes
0 answers

Using SQLCipher encrypted with HTML5 Javascript mobile application

I have used SQLCipher for encrypting my database and put it in assests folder and successfully move it to database directory at run time. I can access encrypted database from Java code, but my application is in HTML5 JavaScript. So my question is…
Jaiprakash Soni
  • 4,100
  • 5
  • 36
  • 67
0
votes
1 answer

Error while building code for SQLCipher

I followed all the steps which are listed here , but I don't know why I am not able to build the project. I got some compiler errors…
Chahal
  • 995
  • 2
  • 14
  • 24
0
votes
1 answer

ORMLite request using SQLCipher

I have a problem with making request using these both libraries. I wanted to get all queries from my table Table_events with .queryforall() but then I saw this thread and tried to make query with rawQuery but it offers only queryRaw(). The request…
user2086174
  • 195
  • 1
  • 3
  • 12
0
votes
0 answers

Sqlite3 Transaction not Commiting & Journal not Deleting

Recently I have added BEGIN and COMMIT transaction to all the database calls against my sqlcipher sqlite3 database for an iOS application I am in the process of working on. I am doing this through the following methods: #define kTRANSACTION_BEGIN…
Krejko
  • 901
  • 1
  • 9
  • 23
0
votes
0 answers

Unable to create SQLCipher Database with Password

I been trying for few hours just to create a simple database with password.. Here's the code. //Activity 1 SQLiteDatabase.loadLibs(this); dbPasswordHelper2 = new DatabaseHelper2(this); …
idish
  • 3,190
  • 12
  • 53
  • 85
0
votes
1 answer

Use Existing database with SQLCipher

Is it possible to open an existing SQLite database with SQLCipher? Until now, I was managed only to create a new database using SQLCipher in order to work with it. Thanks!
Tomer Rubin
  • 173
  • 2
  • 17
0
votes
1 answer

Problems with SQLCipher

I have an app that uses a database that is encrypted with SQLCipher. All worked fine. But now I added some data into the database. Before it was about 1.4 MB now it is about 6 MB. Trying to run the same app with the new database produces the…
AWiget
  • 5
  • 2
0
votes
1 answer

SQLCipher "sqlite_3key" warning for Archiving and Profiling, No Warning for Debug

I've followed the documentation in the Official SQLCipher Site for iOS. I imported sqlite3.h. I added openssl and sqlcipher xode.proj. They are actually all fine. It's encrypting the databases and I can query off them. The builds are good, except…
RegisteredUser
  • 415
  • 4
  • 13
0
votes
2 answers

How to use SQLCipher on PHP for SQLite3

how can I use SQLCipher on PHP on regular PHP, Apache installation or any other WAMP, ZendServer and so on... On Windows not linux? OR How can I use this method for encryption in PHP: http://www.sqlite.org/see/doc/trunk/www/readme.wiki I need AES…
Acnologia
  • 302
  • 1
  • 6
  • 17
0
votes
1 answer

SQLCipher build failed without error

I am trying to add SQLCipher to a project, but SQLCipher failed without an issue. I am following the tutorial here: http://sqlcipher.net/ios-tutorial/ Xcode: 4.6.2 SQLCipher: 3.7.14.1 OpenSSL: 1.0.1e If there anyone with a similar problem? Thanks
NicoTjai
  • 67
  • 2
  • 9
0
votes
1 answer

queryforall() is not working in the case of ormlite and sqlcipher

i have used the sqlcipher and ormlite together. imported the net.sqlicipher and net.sqlicipher.database packages in my project and downloded the ormlite-android-sqlcipher.jar. and i have given the password to DatabaseHelper class constructor, so…
AndroidDev
  • 1,191
  • 3
  • 16
  • 35
0
votes
1 answer

Which ciphers and modes does SQLCipher offers?

In SQLCipher I can change the cipher using PRAGMA cipher. The default cipher is AES-256-cbc. What are the supported ciphers and modes of operation?
Minh Pham
  • 948
  • 12
  • 22
0
votes
1 answer

Attach Database SQLCIPHER

I want to know this code is necessary to use in SQLcipher.(using in android) I am confused where and when should i use this if needed. i want to encrypt my sqlite db. ATTACH DATABASE 'encrypted.db' AS encrypted KEY 'secret'; -- create a new…
Monty
  • 3,205
  • 8
  • 36
  • 61