« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for 理想的 (0.001 sec.)
sodium_crypto_shorthash — メッセージと鍵のための短いハッシュ値を計算する | PHP ... 11228
sodium_crypto_shorthash (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_shorthash — メッセージと鍵のための短いハッシュ値を計算する 説明 function sodium_crypto_shorthash ( string $message , #[ \SensitiveParameter ] string $key ): string sodium_crypto_ ... す。 このハッシュ関数は、ハッシュの衝突によるサービス拒否攻撃 (Hash-DoS) から影響を受けにくい ハッシュテーブルを実装するのに理想的なものです。 SipHash-2-4 自体は、 一般的な用途の暗号で使うハッシュ関数ではありません。 パラメータ message ハッシュ化するメッ ...
https://man.mtool.work/php/8.3/function.sodium-crypto-shorthash.html
sodium_memcmp — 定数時間での文字列の比較 | PHP 8.3 7485
sodium_memcmp (PHP 7 >= 7.2.0, PHP 8) sodium_memcmp — 定数時間での文字列の比較 説明 function sodium_memcmp ( #[ \SensitiveParameter ] string $string1 , #[ \SensitiveParameter ] string $string2 ): int ふたつの文字列を、定数時間で比較します。 ... 果を扱う場合、 かつ、bool値から整数型への変換の際の、 タイミングに依存した情報のリークを気にする場合、 sodium_memcmp() 関数が理想的な代替になります。 パラメータ string1 比較対象の文字列 string2 もう一つの、比較する文字列 戻り値 双方の文字列が等しければ 0 ...
https://man.mtool.work/php/8.3/function.sodium-memcmp.html
PREV 1 NEXT