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.

ConnectionProfile profile = <PkgName>DB.getConnectionProfile();
profile.setEncryptionKey(“Your key”);