Encrypt sqlite databse using sqlcipher in java


#1

I want to encrypt sqlite database file using sqlcipher in java.
But I am facing below compilation error
The type android.database.Cursor cannot be resolved. It is indirectly referenced from required .class file

Can you please provide solution


#2

Hi @bharath

It appears you are using the SQLCipher for Android library, are you using that within an Android application? That library will not work on a desktop JVM.


#3

i am using in java application (not in android), do you have any suggestion how to use sqlcipher in java


#4

Hello @bharath

SQLCipher for JDBC would likely be a better fit, it is currently in development, however we do have a beta build. Please feel free to reach out to us at support@zetetic.net to discuss further.


#5

Hello:

Did you release the jdbc driver for SQLCipher? If yes, what is the price?

Thanks


#6

@costa At this time the SQLCipher for JDBC information is available through the SQLCipher Enterprise program. If you’re interested in additional information please contact us at support@zetetic.net. Thanks!