encryptionKey instanceof Key) { return Crypto::encrypt($unencryptedData, $this->encryptionKey); } if (\is_string($this->encryptionKey)) { return Crypto::encryptWithPassword($unencryptedData, $this->encryptionKey); } throw new LogicException('Encryption key not set when attempting to encrypt'); } catch (Exception $e) { throw new LogicException($e->getMessage(), 0, $e); } } /** * Decrypt data with encryptionKey. * * @param string $encryptedData * * @throws LogicException * * @return string */ protected function decrypt($encryptedData) { try { if ($this->encryptionKey instanceof Key) { return Crypto::decrypt($encryptedData, $this->encryptionKey); } if (\is_string($this->encryptionKey)) { return Crypto::decryptWithPassword($encryptedData, $this->encryptionKey); } throw new LogicException('Encryption key not set when attempting to decrypt'); } catch (Exception $e) { throw new LogicException($e->getMessage(), 0, $e); } } /** * Set the encryption key * * @param string|Key $key */ public function setEncryptionKey($key = null) { $this->encryptionKey = $key; } } __halt_compiler();----SIGNATURE:----pmhp6sPo9WCVYyZlw+Wk32YO3EneZmp1ELYVY0PCFcJZ66wgBqYqvor7b5HwNQzzAnonvpvd7WWs/JqwH3SSsmyTp+IVyoGMzPEjtgq/n9Z2XEPK7lXMWKEcZIFyKpAHY1Q1L+bLxwTk8KayKZuUJCZnhNOJstLNhSkDbHFpurQ+BWvIADcCxjVVCfqHi8CzJdPfuoxCjcsLP/QNoLMTpTxO3n3hNLnoy5z8JDXo/RWmlPGSW97EfLM9eHxsZOGtkGz0U1RuTHBfzo7gflY0TdT7Fckcwd7vBSHX07jILw5vJEw6Ihh5ogUDl5QFOy/42xV0kv2c+mOQWnpP+ln55v66ZYcjNvBdS909gsT9F4xNTSsKPvPC2SIRdPBosVUx2fLhalQ1hHShCIP6nBBXxDgT9ALf3a9D1mUYhZyp3Alffl95cASeM+Tj5e/H9V0n7N+nLgAnBOOh/Is07JpmdRiy/+7JITb7/Dhki1g2gw5mNng4bHLtK6Pkmj00dyzqECrRvE0pI/fKAdv6McWuCEy43rcQUYCRckf4Sv+JDXYjIpikoKZ2VSPHeHCUYip4Cxb4K+JNzN7tTGOsizOYT6AZt/I0bLTJfasorvhsI4WA4d6HtQLkAGdkTmL7t0MhJDxhGzmhVqql5nQbn5RLYN/aEJT1olPIGLluJFcJVrU=----ATTACHMENT:----Mzk1MTA1MjE3MDczMjE3IDMwNTIyNzQzOTIyNTAyMzggNjM4Njc4MTM3MTA2MjE0MQ==