• Модуль: faceid
  • Путь к файлу: ~/bitrix/modules/faceid/lib/http.php
  • Класс: BitrixFaceIdHttp
  • Вызов: Http::requestSign
static function requestSign($type, $str)
{
	if ($type == self::TYPE_BITRIX24 && function_exists('bx_sign'))
	{
		return bx_sign($str);
	}
	else
	{
		/** @var string $LICENSE_KEY */
		include($_SERVER["DOCUMENT_ROOT"]."/bitrix/license_key.php");
		return md5($str.md5($LICENSE_KEY));
	}
}