• Модуль: imconnector
  • Путь к файлу: ~/bitrix/modules/imconnector/lib/provider/imconnectorserver/output.php
  • Класс: BitrixImConnectorProviderImConnectorServerOutput
  • Вызов: Output::requestSign
protected function requestSign($type, $str): string
{
	if (
		$type == self::TYPE_BITRIX24 &&
		function_exists('bx_sign')
	)
	{
		$result = bx_sign($str);
	}
	else
	{
		$result = md5($str . Application::getInstance()->getLicense()->getHashLicenseKey());
	}

	return $result;
}