You are here

public function EncryptedRestClientInterface::encrypt in Salesforce Suite 8.3

Encrypts a value using the active encryption profile, or return plaintext.

Parameters

string $value: The value to encrypt.

Return value

string The encrypted value, or plaintext if no active profile.

1 method overrides EncryptedRestClientInterface::encrypt()
RestClient::encrypt in modules/salesforce_encrypt/src/Rest/RestClient.php
Encrypts a value using the active encryption profile, or return plaintext.

File

modules/salesforce_encrypt/src/Rest/EncryptedRestClientInterface.php, line 72

Class

EncryptedRestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce_encrypt\Rest

Code

public function encrypt($value);