Encryption in sqlite4java

84 views
Skip to first unread message

omyl omyl

unread,
Feb 8, 2012, 7:46:29 AM2/8/12
to sqlite4java
Hi guys,

is there some plan to add encryption support to sqlite4java?

Thanks.
Ondřej OMYL Mach

Igor Sereda

unread,
Feb 9, 2012, 1:22:48 AM2/9/12
to sqlite4java
Hi Ondřej,

We don't have an encryption extension for Sqlite, didn't need it so
far - so I cannot tell if sqlite4java supports it. From the API
perspective, you should be able to specify key via PRAGMA. If
Encryption extension can be dynamically loaded, then wait for the next
release (coming soon), which will have support for dynamic extension
loading. If encryption requires recompile of Sqlite, then you should
be able to take sqlite4java sources, replace sqlite.c/sqlite.h with
the same version that includes encryption and build the library.

Hope this helps - let me know if there are further questions
Igor
Reply all
Reply to author
Forward
0 new messages