« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for uRhAeH (0.001 sec.)
タイミング攻撃に対しても安全な文字列比較 9414
« hash_copy hash_file » PHP Manual Hash 関数 タイミング攻撃に対しても安全な文字列比較 検索 hash_equals (PHP 5 >= 5.6.0, PHP 7, PHP 8) hash_equals — タイミング攻撃に対しても安全な文字列比較 説明 function hash_equals ( #[ \SensitiveParameter ... 文字列が等しい場合に true を返します。 そうでない場合に、 false を返します。 例 例1 hash_equals() の例 <?php $secretKey = '8uRhAeH89naXfFXKGOEj' ; // $value と $signature の値はユーザが提供します。 // 例: URL内の値と、$_GET から取得した値です $value = ' ... 全 signature SensitiveParameter user 最初 秘密 漏洩 既知 secretKey hmac correctly signed copy Hash 緩和 目的 通常 多少 時間 uRhAeH ...
https://man.mtool.work/php/8.3/function.hash-equals.html
PREV 1 NEXT