« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for tampered (0.000 sec.)
hash_equals — タイミング攻撃に対しても安全な文字列比較 | PHP 8.3 9414
hash_equals (PHP 5 >= 5.6.0, PHP 7, PHP 8) hash_equals — タイミング攻撃に対しても安全な文字列比較 説明 function hash_equals ( #[ \SensitiveParameter ] string $known_string , #[ \SensitiveParameter ] string $user_string ): bool 実行している間 ... 6' , $value , $secretKey ), $signature )) { echo "The value is correctly signed." , PHP_EOL ; } else { echo "The value was tampered with." , PHP_EOL ; } ?> 上の例の出力は以下となります。 The value is correctly signed. 注意 注意 : 指定するパラメータは両方 ...
https://man.mtool.work/php/8.3/function.hash-equals.html
PREV 1 NEXT