initEncryptionConfig

open fun initEncryptionConfig(fileEncryptionEnabled: Boolean, dbEncryptionEnabled: Boolean)

Called to initialize the file and database encryption. (By default the encryption feature is disabled) MUST BE CALLED AT THE BEGINNING IN THE CREATION OF THE APPLICATION (before any file/preference or db manipulation)

Parameters

fileEncryptionEnabled

true if the files and preferences should be encrypted, false otherwise

dbEncryptionEnabled

true if the database should be encrypted, false otherwise