Update SQLCipher to v4.4.3

This commit is contained in:
Greyson Parrelli
2021-05-06 12:32:25 -04:00
parent b9a960a7c8
commit 7a02404f7b
3 changed files with 12 additions and 10 deletions

View File

@@ -16,6 +16,8 @@ public final class SqlCipherDatabaseHook implements SQLiteDatabaseHook {
@Override
public void postKey(SQLiteDatabase db) {
db.rawExecSQL("PRAGMA cipher_compatibility = 3;");
db.rawExecSQL("PRAGMA cipher_memory_security = OFF;");
db.rawExecSQL("PRAGMA kdf_iter = '1';");
db.rawExecSQL("PRAGMA cipher_page_size = 4096;");
}