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

How to Sqlite database with password access from Qt?

i made a password sqlite database file via sqlitestudio SQLSicpher, how can i access the data base from qt?, I tried QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE"); db.setDatabaseName(dbLocation); db.setPassword("thPassworde"); but it…
Zoro Allam
  • 41
  • 9
2
votes
0 answers

SQLCipher in Ionic 3

Is there any proper guideline to use SQLCipher in Ionic 3 application? I am following this method, but having little confusion on where to initialise the db object. Because the Cordova plugin getting detected only on document ready state.…
Prabhakaran
  • 1,524
  • 2
  • 13
  • 21
2
votes
2 answers

Cannot resolve symbol 'database' in net.sqlcipher import in Android Studio

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 reference. Thank you...
2
votes
0 answers

SQLCipher encrypted error in android release version.

I am trying to encrypt database using SQLCipher. I followed http://lomza.totem-soft.com/tutorial-add-sqlcipher-to-your-android-app/ and it was working fine it the app is in debug mode. But whenever i try to build a release version, it crashes. I…
BST Kaal
  • 2,993
  • 6
  • 34
  • 52
2
votes
0 answers

Setting PRAGMA CIPHER on db with sequelize.js

i see that sequelize is compatible with sqlite's sqlcipher extension (docs | merged pr). the code suggests a way to authenticate on the db instance, but i can't find a way to set the cipher. using sqlite3, can run something like this: var sqlite =…
leegenes
  • 31
  • 2
2
votes
1 answer

How do you open an encrypted SQLITE db on the iPhone?

The question should be clear right :) I followed this tutorial: http://mobileorchard.com/tutorial-iphone-sqlite-encryption-with-sqlcipher/ Would be glad to know if and how I'm able to open my db after adding the key to it. As I receive following…
Lewion
  • 235
  • 1
  • 3
  • 17
2
votes
1 answer

Using SQLCipher Community Edition in .NET

Is there a way to make Community Edition of SQLCipher work in .NET after compiling? From what i was able to gather it seems that it's a C/C++ library. Or are there any alternatives (free preferred) that can do the same thing? I'm trying to encrypt…
Lampa
  • 75
  • 4
2
votes
1 answer

Encrypt SQLite database

I have been searching for a while and got these results: Android database encryption encrypt sqlite database Android: How to encrypt android sqlite database? They all suggest using SQLCipher, which is a valid solution, but the commercial license…
JonZarate
  • 841
  • 6
  • 28
2
votes
2 answers

App crashes on setting minifyEnabled to true

I am using greendao + sqlcipher and creating encrypted database using helper.getEncryptedWritableDb("sdfbdfsjkdjkf"); I am also using proguard and have added rules ### greenDAO 3 -keepclassmembers class * extends org.greenrobot.greendao.AbstractDao…
2
votes
2 answers

Use firebase with SQLCipher

I have an app that uses SQLCipher to read and write to crypted databases. Wanting to use Firebase, I stumbled upon 2 problems: Firstly, some ... thing added -l"sqlite3" to my Pods/Target Support Files/Pods-ProjectName/Pods-ProjectName.debug.xcconfig…
Iulian Onofrei
  • 9,188
  • 10
  • 67
  • 113
2
votes
1 answer

Is SQLCipher needed anymore?

Now that with iOS 8.3 and above, iOS doesn't allow application folder access of any app which doesn't support iTunes File sharing, is it really necessary to use SQLCipher or for that matter any sort of encryption for the data, considering the…
Kesava
  • 1,049
  • 14
  • 22
2
votes
0 answers

Issue when opening a DOCX file through a third party app using IOCipher and ContentProvider

I'm building a secure android application that runs with IOCipher and SQLCipher. My app is storing PDF, DOC, DOCX, XLS, XLSX files that are intended to be openned by a third party application. Currently I can open all these type of files but DOCX.…
user5988366
2
votes
0 answers

How to configure and build sqlcipher for android?

I would like to use sqlcipher in my android project. I've used an sql wrapper called Kompex SQLite Wrapper which includes the sqlite3.h sqlite3ext.h shell.c sqlite3.c files in it. It is not neccessary for me to use the sqlite database from java…
2
votes
0 answers

Why doesn't Azure load properly the Interop?

I have a WebApp on Azure that uses a dll. This library needs Interop libraries x86 and x64. Sometimes, at the restart of the App (I suppose), the App fails due to an exception: System.EntryPointNotFoundException: Unable to find an entry point named …
Francesco
  • 50
  • 6
2
votes
1 answer

How to build SQL Cipher Python Binding for Windows

I'm having trouble building a python binding for SQL cipher on my Windows machine. I have already sucessfully built the python binding for Macintosh. I would like to use my python script on both Mac and PC. I’m new to python and don’t fully…
user5544191
  • 51
  • 1
  • 6