Encrypt the Database

You can use ConnectionProfile.EncryptionKey to set the encryption key of a local database. Set the key during application initialization, and before creating or accessing the client database.

The length of the encyption key cannot be fewer than 16 characters.

ConnectionProfile profile = <PkgName>DB.getConnectionProfile();
profile.setEncryptionKey(“Your key of length 16 or more characters”);