sqlite-cipher.js
sqlite-cipher.js copied to clipboard
Can not connect to exist encrypt db in nw.js
hello
I can't connect to exist encrypt db.
my code:
sqlite.connect(name,'mypassword')
if name file exist it always go to
throw "Invalid Password! Please check your password or database name.";
How did you encrypt the database?
I'm having this error while trying to connect to the database in nwjs, I've checked countless times to make sure I was not doing anything wrong.
`
"Uncaught Invalid Password! Please check your password or database name."
`
var db = require('sqlite-cipher');
db.connect('js/datab.db', '123654', 'aes-256-ctr');