seems to me that this function does the same as the hash_equals() function. hash_equals() has nothing to do with hashes really, it is just a constant-time string equality check function, apparently like sodium_memcmp()
(PHP 7 >= 7.2.0)
sodium_memcmp — Test for equality in constant-time
$string1
, string $string2
): int
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
string1
string2
seems to me that this function does the same as the hash_equals() function. hash_equals() has nothing to do with hashes really, it is just a constant-time string equality check function, apparently like sodium_memcmp()