The ConnectionProfile class manages local database information. You can use it to set the encryption key, which you must do before creating a local database.
SUPConnectionProfile* cp = [SampleApp_SampleAppDB getConnectionProfile]; [cp setEncryptionKey:@"Your key"];