• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/cookiescrypter.php
  • Класс: BitrixMainWebCookiesCrypter
  • Вызов: CookiesCrypter::decryptValue
protected function decryptValue(string $value): string
{
	$this->buildCipher();

	$value = $this->cipher->decrypt($this->decodeUrlSafeB64($value), $this->getCipherKey());
	if (function_exists('gzdecode'))
	{
		$value = gzdecode($value);
	}

	return $value;
}