original_string: public function encrypt($token)
      {
          $iv = mcrypt_create_iv(self::IV_SIZE, self::IV_SOURCE);
          $cipherText = mcrypt_encrypt(self::CIPHER, $this->key, $token, self::MODE, $iv);
          return base64_encode($iv . $cipherText);
      }
code: public function encrypt($token)
      {
          $iv = mcrypt_create_iv(self::IV_SIZE, self::IV_SOURCE);
          $cipherText = mcrypt_encrypt(self::CIPHER, $this->key, $token, self::MODE, $iv);
          return base64_encode($iv . $cipherText);
      }
code_tokens: public function encrypt ( $ token ) { $ iv = mcrypt_create_iv ( self :: IV_SIZE , self :: IV_SOURCE ) ; $ cipherText = mcrypt_encrypt ( self :: CIPHER , $ this -> key , $ token , self :: MODE , $ iv ) ; return base64_encode ( $ iv . $ cipherText ) ; }
docstring: Encrypt the OAuth token
  @param \stdClass $token Serialized token object
  @return string
docstring_tokens: Encrypt the OAuth token