You are here

public function CryptConnector::cryptPass in Acquia Connector 8.2

Same name and namespace in other branches
  1. 8 src/CryptConnector.php \Drupal\acquia_connector\CryptConnector::cryptPass()
  2. 3.x src/CryptConnector.php \Drupal\acquia_connector\CryptConnector::cryptPass()

Crypt pass.

Return value

string Crypt password.

File

src/CryptConnector.php, line 64

Class

CryptConnector
Class CryptConnector.

Namespace

Drupal\acquia_connector

Code

public function cryptPass() {
  $crypt_pass = $this
    ->crypt($this->algo, $this->password, $this->setting);
  return $crypt_pass;
}