encrypt/decrypt Android Sqlite DataBase
Questions tagged [sqlcipher-android]
98 questions
0
votes
0 answers
Migrating issue of data base from SqliteDatabase to cipher Sqlite
I am facing the issue File is encrypted or is not a database when trying to execute the query: select count(*) from sqlite_master; while migrating the database from android.database.sqlite.SQLiteDatabase to net.sqlcipher.database.SQLiteDatabase.
I…

Pinki
- 21,723
- 16
- 55
- 88
0
votes
3 answers
My function always return false SqlCipher
I use database to encrytp/decypt sqlcipher. Now I write function witch check if this card if exist in table Card. When I debug my method always return false.
public boolean checkIfExistCard(String numberCard, String expirationDate) {
…

Ewelina Maj
- 11
- 7
0
votes
0 answers
Can not run IOCipher Example Project
I am trying to run IOCipher Example on https://github.com/guardianproject/IOCipherExample but I get force close when I run it. I cannot even run a single line vfs = VirtualFileSystem.get(); I installed it's library by write this line "compile…

zeinab
- 11
- 7
0
votes
0 answers
how can I write into or select form a already existing table in a encrypted database (via SQLCipher, Android SQLite)?
I try to write into a existing table in a encrypted(SQLCipher) database, but i get the error message "net.sqlcipher.database.SQLiteException: no such table ". How can i do it?
I have created a SQLCipher database and table via SQLite studio in the…

Moonshone
- 1
- 2
0
votes
0 answers
Constructor for SQLCipher Android
I had been using SQLite in my project and I have to migrate to SQLCipher. I have a constructor in my DatabaseHelper class. I don't create the db anywhere else. My constructor is:
public DatabaseHelper(Context context) {
super(context,…

The Bat
- 1,085
- 1
- 13
- 31
0
votes
2 answers
How to integrate Greendao with sqlcipher
I want to integrate Greendao and Sqlcipher in android studio to have an encrypted db. I use sqlcipher-for-android
which I added these to my app/build.gradle
compile 'org.greenrobot:greendao:3.2.0'
compile…

unos baghaii
- 2,539
- 4
- 25
- 42
0
votes
1 answer
sqlcipher-for-android-v3.5.6.zip download or latest binaries for sqlcipher for android - Marshmallow devices
I am planning to integrate sqlcipher in my existing android application. Where can I download the latest sqlcipher-for-android-v3.5.6.zip or binaries for sqlcipher for android? Please note that my application target SDK is point to Marshmallow or…

Shiva
- 207
- 2
- 7
0
votes
1 answer
Release apk crashing after using proguard
Have tried all most all the tricks in the bag but can't figure out what is missing. The debug build runs fine but the release build fails as soon as it starts up.
I guess, the exception - "Caused by: java.lang.IllegalStateException: invalid UTF-16…

opensourced101
- 179
- 1
- 1
- 8
0
votes
1 answer
Is it possible to secure any file using SQLCipher ?
I'm about to develop an Android application where people can protect data (app specific data) in their Android devices. I tried AES 256 algorithm with both CBC and ECB but couldn't achieve the goal. I heard it is possible to do the same using…

Tharindu
- 963
- 1
- 7
- 9
0
votes
1 answer
Android SQLight encryption best lightweight option?
I need to encrypt some of the data stored in my Android SQLite database, and I wonder what my options are if i want a lightweight option? Is SQLCipher still the best if speed is priority?

Karl Y
- 1
- 3
0
votes
0 answers
Android sqlcipher + jni
I'm using sqlcipher and some native code in my app. Everything works good on almost all devices. Problem exists only on Nexus 5X with Android 6.0.1.
I get error:
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file…

AdamN
- 476
- 5
- 13
0
votes
0 answers
File is encrypted or is not a database: SQLCipher in Android
I encrypted a SQLite database from Linux command line using the following way.
$ ./sqlcipher plaintext.db
sqlite> ATTACH DATABASE 'encrypted.db' AS encrypted KEY 'MyPass123';
sqlite> SELECT sqlcipher_export('encrypted');
sqlite> DETACH DATABASE…

Ravi Ranjan Singh
- 809
- 1
- 6
- 19
0
votes
0 answers
Unable to open Encrypted Database in Sqlite Manager
I have followed this tutorial How to implement SQLcipher in Android and implemented SQLcipher over my existing SQLite application, It works well. I was able to Insert, Fetch records from the database (Like normal SQLite application). However when i…

Arunkarthick Nallasami
- 190
- 1
- 8
0
votes
1 answer
SQLiteException: file is encrypted or is not a database: create locale table failed
I have the below two classes for db operations.
public class BlackboxSQLiteDatabase implements BlackboxDatabase {
private Context context;
private SQLiteDatabase sqliteDatabase;
private String databaseName;
public static final…

kdas
- 602
- 2
- 7
- 22
0
votes
1 answer
Error when tring to implement SQlcipher in android
java.lang.UnsatisfiedLinkError:
dalvik.system.PathClassLoader[DexPathList[[zip file
"/data/app/com.example.sqlcipher_demo-1/base.apk"],nativeLibraryDirectories=[/vendor/lib,
/system/lib]]] couldn't find "libsqlcipher_android.so"
I am getting…

SreeTej
- 29
- 9