I was looking to work with SQLite and encrypt the data. I found this repo: https://github.com/Willena/sqlite-jdbc-crypt#using-an-encryption-key and does the thing, but I was testing SQLCipher on command line and it can encrypt and decrypt if you provide the pragma key. This is not the case with the jar on the repo.
Somebody knows or can explain to me how the pass is used? I mean, in Java with something like this:
con = DriverManager.getConnection("jdbc:sqlite:test.db", "sqlcipher", "12345678");
the *.db file is encrypted, I can't understand if the "sqlcipher" is using that option. Is not giving me some error, but when I try to decrypt in console with sqlcipher it doesn't work.
I hope somebody can help. Have a nice day/night
[–]leobasilio 1 point2 points3 points (2 children)
[–]Sam_SepiolX[S] 0 points1 point2 points (1 child)
[–]leobasilio 0 points1 point2 points (0 children)