encrypt() public method

Encrypts the input text using the cipher key
public encrypt ( $input ) : string
$input
return string
 /**
  * Helper method to encrypt data using clientSecret as key
  *
  * @param $data
  * @return string
  */
 public function encrypt($data)
 {
     return $this->cipher->encrypt($data);
 }