public function TLS::decrypt in DRD Agent 4.0.x
Same name and namespace in other branches
- 8.3 src/Crypt/Method/TLS.php \Drupal\drd_agent\Crypt\Method\TLS::decrypt()
Decode, decrypt and unserialize arguments from the other end.
Parameters
string $body: The encrypted, serialized and encoded string to process.
string $iv: The initialiation vector.
Return value
mixed The decoded, decrypted and unserialized arguments.
Overrides BaseMethodInterface::decrypt
File
- src/
Crypt/ Method/ TLS.php, line 68
Class
- TLS
- Provides security over TLS without additional encryption.
Namespace
Drupal\drd_agent\Crypt\MethodCode
public function decrypt($body, $iv) {
/** @noinspection UnserializeExploitsInspection */
return unserialize($body);
}