hash_equals
symfony/var-dumper
Supported Versions: PHP 5 >= 5.6.0, PHP 7, PHP 8
Timing attack safe string comparison
<?php hash_equals
(
string $known_string
,
string $user_string
):
bool