canOpenDatabase

internal fun canOpenDatabase(databaseFile: File, key: ByteArray, verifyIntegrity: Boolean = false): Boolean

Parameters

verifyIntegrity

also HMACs every page. Off on the startup paths, where the cost is paid by every user and a failure has no better recovery than a plain open failure; the migration tests turn it on to prove a rekeyed database is sound.