ormlite-sqlcipher
ormlite-sqlcipher copied to clipboard
Patched OrmLite Android library which encrypts persistent data transparently with SQLCipher
ormlite-sqlcipher
Patched OrmLite Android library with SQLCipher
Installation
allprojects {
repositories {
jcenter()
}
}
dependencies {
compile 'com.j256.ormlite.cipher:ormlite-sqlcipher:1.4@aar'
compile 'com.j256.ormlite:ormlite-core:5.1'
compile 'com.j256.ormlite:ormlite-android:5.1'
compile 'net.zetetic:android-database-sqlcipher:4.0.1@aar'
}
Usage
- Init sqlcipher.
- Use in imports
com.j256.ormlite.cipher.androidimports instead ofcom.j256.ormlite.android - Use in imports
net.sqlcipher.databaseimports instead ofandroid.database - If you need
OrmLiteSqliteOpenHelperoverridegetPasswordmethod