You are here

public function TLS::encrypt in DRD Agent 8.3

Same name and namespace in other branches
  1. 4.0.x src/Crypt/Method/TLS.php \Drupal\drd_agent\Crypt\Method\TLS::encrypt()

Encrypt and encode any list of arguments.

Parameters

array $args: The arguments to be encrpyted.

Return value

string Encrypted and base64 encoded serialisation of the arguments.

Overrides BaseMethodInterface::encrypt

File

src/Crypt/Method/TLS.php, line 61

Class

TLS
Provides security over TLS without additional encryption.

Namespace

Drupal\drd_agent\Crypt\Method

Code

public function encrypt(array $args) : string {
  return serialize($args);
}