method
public
Cipher::__construct()
Класс: \Bitrix\Main\Security\Cipher
Сигнатура
public __construct([string $cipherAlgorithm = 'aes-256-ctr' ][, string $hashAlgorithm = 'sha256' ][, bool $calculateHash = true ]) : mixed
Описание
Конструктор Cipher. Aes-256-ctr и sha256 — лучшие из известных на данный момент методов.
Параметры
$cipherAlgorithm
string
= 'aes-256-ctr'
$hashAlgorithm
string
= 'sha256'
$calculateHash
bool
= true
Возвращаемое значение
mixed
Исходный файл: source/main/lib/security/cipher.php:24

