Hello @LiMingjian
Yes, that PRAGMA change @sjlombardo mentioned would only be valid while the program is running, you would need to set that again every time the application is launched. Also, while you mentioned changing the key derivation iteration length, you may wish to consult the SQLCipher Performance Guidance to make sure your application is structuring its interactions with SQLCipher properly.