• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/backup.php
  • Класс: CPasswordStorage
  • Вызов: CPasswordStorage::Set
static function Set($strName, $strVal)
{
	if (!self::Init())
		return false;

	$temporary_cache = '';
	if ($strVal)
		$temporary_cache = CTar::encrypt(self::SIGN.$strVal, self::getEncryptKey());
	return COption::SetOptionString('main', $strName, base64_encode($temporary_cache));
}