DG.
DG.

Reputation: 553

Encryption / Decryption sqlite database using java

Is there any free library / Java API to encrypt and decrypt sqlite database in java ? I am using SQLite JDBC driver as part of xerial project.

Thanks, Deep

Upvotes: 2

Views: 4299

Answers (1)

Pål Brattberg
Pål Brattberg

Reputation: 4698

There is an encryption library (sqlite-crypt) available in C, but if you want to do it in Java, I would simply encrypt the file like any other file. See this example of file encryption/decryption in Java.

Upvotes: 1

Related Questions