init Encryption Config
open fun initEncryptionConfig(fileEncryptionEnabled: Boolean, dbEncryptionEnabled: Boolean)
Content copied to clipboard
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
file Encryption Enabled
true if the files and preferences should be encrypted, false otherwise
db Encryption Enabled
true if the database should be encrypted, false otherwise