Reputation:
First of all I need to encrypt my sqlite3 database, because there are very sensitive data. Then I would only need to decrypt my database when I need it. How could I do? I am using the sqlite3-jdbc-3.30.1 and DB Browser for Sqlite. My databases contains lots of strings. My data is like:
ID , lemma , definition
1 , Hello , an expression of greeting
Connection conn = null;
try {
conn = DriverManager.getConnection("jdbc:sqlite:C:\\sqlite databases\\library.db");
}
catch(SQLException exc) {}
Upvotes: 1
Views: 1918
Reputation: 1529
I would recommend that you use SqlCipher this is the Link:
https://www.zetetic.net/sqlcipher/
Upvotes: 1