lithium\storage\session\strategy\Encrypt::delete()
Delete encryption method.
Parameters
- 
							mixed
							$dataThe data to be encrypted. 
- 
							array
							$optionsOptions for this method. 
Returns
stringReturns the deleted data in cleartext.
Source
	public function delete($data, array $options = []) {
		$class = $options['class'];
		$futureData = $this->read(null, ['key' => null] + $options) ?: [];
		unset($futureData[$options['key']]);
		$payload = null;
		if (!empty($futureData)) {
			if ($this->_mcrypt) {
				$payload = $this->_bcEncrypt($futureData);
			} else {
				$payload = $this->_encrypt($futureData);
			}
		}
		$class::write('__encrypted', $payload, ['strategies' => false] + $options);
		return $data;
	}