sqlite3 用SQLCipher 加密后 命令行下如何重新打开和读取
http://sqlcipher.net/sqlcipher-api/#key PRAGMA key The process of creating a new, encrypted database is called “keying” the database. SQLCipher uses just-in-time key derivation at the point it is first needed for an operation. This means that the key (and any options) must be set before the first operation on the database . As soon as the database is touched (e.g. SELECT, CREATE TABLE, UPDATE, etc.) and pages need to be read or written, the key is prepared for use. satckoverflow.com上有人提到过在 sqlite> sqlcipher-shell32.exe test.db sqlite> PRAGMA KEY = '12345'; 给刚打开的数据库设置密码后,马上接着往数据库执行create table和