You are here

public function MCrypt::getPassword in DRD Agent 8.3

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

Get the password.

Return value

string The password.

Overrides BaseMethodInterface::getPassword

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

File

src/Crypt/Method/MCrypt.php, line 51

Class

MCrypt
Provides MCrypt encryption functionality.

Namespace

Drupal\drd_agent\Crypt\Method

Code

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