You are here

public function BaseMethodInterface::decrypt in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Crypt/BaseMethodInterface.php \Drupal\drd_agent\Crypt\BaseMethodInterface::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.

3 methods override BaseMethodInterface::decrypt()
MCrypt::decrypt in src/Crypt/Method/MCrypt.php
Decode, decrypt and unserialize arguments from the other end.
OpenSSL::decrypt in src/Crypt/Method/OpenSSL.php
Decode, decrypt and unserialize arguments from the other end.
TLS::decrypt in src/Crypt/Method/TLS.php
Decode, decrypt and unserialize arguments from the other end.

File

src/Crypt/BaseMethodInterface.php, line 82

Class

BaseMethodInterface
Provides an interface for encryption methods.

Namespace

Drupal\drd_agent\Crypt

Code

public function decrypt($body, $iv);