const Sequelize = require("sequelize");
const db = new Sequelize({
dialect: 'sqlite',
storage: path.join(process.cwd(), "sample.db"),
dialectModulePath: '@journeyapps/sqlcipher',
logging: false,
define: {
freezeTableName: true
}
});
db.query("PRAGMA key = 'password'");
I am not able to open the sample.db file with sqlitebrowser SQLCIPHER 4.

The only way its works is by adding the below line and then use SQLICIPHER 3 in sqlitebrowser
db.query('PRAGMA cipher_compatibility = 3'); 
I am not able to open the sample.db file with sqlitebrowser SQLCIPHER 4.

The only way its works is by adding the below line and then use SQLICIPHER 3 in sqlitebrowser

db.query('PRAGMA cipher_compatibility = 3');