public function BaseMethodInterface::encrypt in DRD Agent 8.3
Same name and namespace in other branches
- 4.0.x src/Crypt/BaseMethodInterface.php \Drupal\drd_agent\Crypt\BaseMethodInterface::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.
3 methods override BaseMethodInterface::encrypt()
- MCrypt::encrypt in src/
Crypt/ Method/ MCrypt.php - Encrypt and encode any list of arguments.
- OpenSSL::encrypt in src/
Crypt/ Method/ OpenSSL.php - Encrypt and encode any list of arguments.
- TLS::encrypt in src/
Crypt/ Method/ TLS.php - Encrypt and encode any list of arguments.
File
- src/
Crypt/ BaseMethodInterface.php, line 69
Class
- BaseMethodInterface
- Provides an interface for encryption methods.
Namespace
Drupal\drd_agent\CryptCode
public function encrypt(array $args) : string;