"", null); db.rawExecSQL(String.format("ATTACH DATABASE '%s' AS encrypted KEY '%s'", encryptedDatabase.getAbsolutePath(), encrypt)); db.rawExecSQL("select sqlcipher_export('encrypted')"); db.rawExecSQL("DETACH