I have created an encrypted SQLite database using C# EntityFramework but I'm not able to open it using DB Browser for SQLite
DB Browser for SQLite is updated at the latest version 3.11 and I'm using DB Browser (SQLCipher)
using System.Data.SQLite;
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
var conn = new System.Data.SQLite.SQLiteConnection(@"Data Source=mySQLite.db;");
var command = conn.CreateCommand();
command.CommandText = "PRAGMA key = 'password'";
command.ExecuteNonQuery();
optionsBuilder.UseSqlite(conn);
}
Does C# and related SQLCipher library use a specific configuration? How to tune C# code to open the database with DB Browser? Are there specific parameters to use (e.g. SQLite version, page size, kdf iteration, hmac and kdf algos)? I have read the documentation but with no success.