updateKey

abstract suspend fun updateKey(key: DatabaseKey)(source)

Updates the key of the database.

This reencrypts it with the new key.