tndrle / node-sqlite3-wasm

WebAssembly port of SQLite3 for Node.js with file system access
MIT License
63 stars 9 forks source link

can it encrypt the .db file ? #84

Closed gzcz closed 2 months ago

gzcz commented 2 months ago

like sqlcipher to encrypt the database .db file.
example code: javascript const { Database } = require("node-sqlite3-wasm");\n const db = new Database("database.db");\n db.run("pragma key = 'secret'");\n db.run("pragma cipher = 'aes-256-cbc'");//optional, default cipher be eqaul to 'aes-256-cbc'\n

tndrle commented 2 months ago

Hi, no that's not possible