jotajota52
Member
Hi!
I'm trying to open an sqlite database that has been encrypted using SQLCipher 4, and I can open it using the correct passphrase using DB Browser (SQLCipher version)
But in B4A is not working
This is an example of what I'm doing, using SQLCipher library version 1.60
Sub Process_Globals
Private sql As SQLCipher
End Sub
Later on, having chosen de database file:
sql.Initialize(File.DirInternal,mydatabase,False,"12345","")
and this errors out as:
net.sqlcipher.database.SQLiteException: file is not a database: , while compiling: select count(*) from sqlite_master;
Is there any way to config the SQLCipher lib to open it using SQLCipher 4 defaults?
George.
I'm trying to open an sqlite database that has been encrypted using SQLCipher 4, and I can open it using the correct passphrase using DB Browser (SQLCipher version)
But in B4A is not working
This is an example of what I'm doing, using SQLCipher library version 1.60
Sub Process_Globals
Private sql As SQLCipher
End Sub
Later on, having chosen de database file:
sql.Initialize(File.DirInternal,mydatabase,False,"12345","")
and this errors out as:
net.sqlcipher.database.SQLiteException: file is not a database: , while compiling: select count(*) from sqlite_master;
Is there any way to config the SQLCipher lib to open it using SQLCipher 4 defaults?
George.