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