original_string: private function _encrypt($input, $password, $iv = null)
      {
          return (self::$allowedCiphers[$this->cipher]['iv'])
              ? openssl_encrypt($input, $this->cipher, $password, true, $iv)
              : openssl_encrypt($input, $this->cipher, $password, true);
      }
code: private function _encrypt($input, $password, $iv = null)
      {
          return (self::$allowedCiphers[$this->cipher]['iv'])
              ? openssl_encrypt($input, $this->cipher, $password, true, $iv)
              : openssl_encrypt($input, $this->cipher, $password, true);
      }
code_tokens: private function _encrypt ( $ input , $ password , $ iv = null ) { return ( self :: $ allowedCiphers [ $ this -> cipher ] [ 'iv' ] ) ? openssl_encrypt ( $ input , $ this -> cipher , $ password , true , $ iv ) : openssl_encrypt ( $ input , $ this -> cipher , $ password , true ) ; }
docstring: Encrypt helper.
  
  @param string      $input
  @param string      $password
  @param string|null $iv
  
  @return string Steam of encrypted bytes.
docstring_tokens: Encrypt helper .