pub fn open_db(path: &Path, master_key: Option<&[u8; 32]>) -> Result<Db>Expand description
Open the DB. If master_key is Some, SQLCipher is unlocked with
PRAGMA key; otherwise the DB is opened unencrypted (the Phase 1
path, kept for tests and --no-master-passphrase runs).