0

My code is un without a password but now I just encrypt SQLite file by using Db Browser and enter password pjjf so now how to connect it, now the old code is that how to pass the password

conn=DriverManager.getConnection("jdbc:sqlite:LiberaryNew.sqlite");

because

conn=DriverManager.getConnection("jdbc:sqlite:LiberaryNew.sqlite","pjjf");

not working

hong4rc
  • 3,735
  • 4
  • 18
  • 37

1 Answers1

0

JDBC doesn't support out of the box SQLCipher. Although you can use a modified version of the JDBC driver (sqlcipher-jdbc) from decamp that supports it. Yo