You are here

public function OpenSSL::getPassword in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Crypt/Method/OpenSSL.php \Drupal\drd_agent\Crypt\Method\OpenSSL::getPassword()

Get the password.

Return value

string The password.

Overrides BaseMethodInterface::getPassword

2 calls to OpenSSL::getPassword()
OpenSSL::decrypt in src/Crypt/Method/OpenSSL.php
Decode, decrypt and unserialize arguments from the other end.
OpenSSL::encrypt in src/Crypt/Method/OpenSSL.php
Encrypt and encode any list of arguments.

File

src/Crypt/Method/OpenSSL.php, line 53

Class

OpenSSL
Provides OpenSSL encryption functionality.

Namespace

Drupal\drd_agent\Crypt\Method

Code

public function getPassword() : string {
  return base64_decode($this->password);
}