public function __construct($applicationId)
    {
        parent::__construct($applicationId);

        $this->encryptionKey = $this->application()->getCustomParameter('EncryptionKey');
        $this->encryptionCipher = MCRYPT_3DES;
        $this->encryptionMode = MCRYPT_MODE_NOFB;
    }