« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for hkdf (0.002 sec.)
hash_hkdf — 与えられたキーから導出されるHKDFキーを生成する | PHP 8.3 13014
hash_hkdf (PHP 7 >= 7.1.2, PHP 8) hash_hkdf — 与えられたキーから導出されるHKDFキーを生成する 説明 function hash_hkdf ( string $algo , #[ \SensitiveParameter ] string $key , int $length = 0 , string $info = "" , string $salt = "" ): string パ ... ーション/コンテキスト依存の情報を示す文字列 salt 導出の間に使うソルト この値はオプションですが、 ランダムなソルトを追加するとHKDFの強度が飛躍的に向上します。 戻り値 導出されたキーの生バイナリ表現の文字列を返します(この値は、 出力キーマテリアル(OKM) とし ... と SHA-256 authentication をそれぞれ使い、 encrypt-then-HMAC を生成する用途に合った、 異なるキーペアを生成します。 例1 hash_hkdf() の例 <?php // ランダムなキーと、導出するキーを強力にするためのソルトを生成します。 $inputKey = random_bytes ( 32 ); $sal ... t = random_bytes ( 16 ); // 上で生成した同じ入力を使い、異なるキーのペアを導出します。 $encryptionKey = hash_hkdf ( 'sha256' , $inputKey , 32 , 'aes-256-encryption' , $salt ); $authenticationKey = hash_hkdf ( 'sha256' , $inputKey , 32 , ...
https://man.mtool.work/php/8.3/function.hash-hkdf.html
Hash 関数 | PHP 8.3 8975
Hash 関数 目次 hash — ハッシュ値 (メッセージダイジェスト) を生成する hash_algos — 登録されているハッシュアルゴリズムの一覧を返す hash_copy — ハッシュコンテキストをコピーする hash_equals — タイミング攻撃に対しても安全な文字列比較 hash_file — ... ファイルの内容から、ハッシュ値を生成する hash_final — 段階的なハッシュ処理を終了し、出来上がったダイジェストを返す hash_hkdf — 与えられたキーから導出されるHKDFキーを生成する hash_hmac — HMAC 方式を使用してハッシュ値を生成する hash_hmac_algos — has ...
https://man.mtool.work/php/8.3/ref.hash.html
HASH メッセージダイジェストフレームワーク | PHP 8.3 8883
HASH メッセージダイジェストフレームワーク はじめに この拡張モジュールは、様々なハッシュアルゴリズムを使って任意の長さのメッセージを直接、または徐々に処理する関数を提供します。可能な処理には、たとえば HMAC 値の生成や、 HKDF や PBKDF2 を含む、 ... — ファイルの内容から、ハッシュ値を生成する hash_final — 段階的なハッシュ処理を終了し、出来上がったダイジェストを返す hash_hkdf — 与えられたキーから導出されるHKDFキーを生成する hash_hmac — HMAC 方式を使用してハッシュ値を生成する hash_hmac_algos — has ...
https://man.mtool.work/php/8.3/book.hash.html
hash_pbkdf2 — PBKDF2 を使ってパスワードからキーを生成する | PHP 8.3 8426
hash_pbkdf2 (PHP 5 >= 5.5.0, PHP 7, PHP 8) hash_pbkdf2 — PBKDF2 を使ってパスワードからキーを生成する 説明 function hash_pbkdf2 ( string $algo , #[ \SensitiveParameter ] string $password , string $salt , int $iterations , int $length = 0 , b ... () で CRYPT_BLOWFISH を使うのほうが、パスワードの保存に適しています。 参考 password_hash() - パスワードハッシュを作る hash_hkdf() - 与えられたキーから導出されるHKDFキーを生成する sodium_crypto_pwhash() - Argon2 アルゴリズムを使い、パスワードからキーを ...
https://man.mtool.work/php/8.3/function.hash-pbkdf2.html
sodium_crypto_kdf_derive_from_key — サブキーを派生させる | PHP 8.3 8243
sodium_crypto_kdf_derive_from_key (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_kdf_derive_from_key — サブキーを派生させる 説明 function sodium_crypto_kdf_derive_from_key ( int $subkey_length , int $subkey_id , string $context , #[ \SensitiveParame ... ter ] string $key ): string ルートキーと追加のコンテクストから、サブキーを派生させます。 hash_hkdf() に似ています。 パラメータ subkey_length 返すキーの長さ(バイト単位) subkey_id 与えられたルートキーから返されるN番目のサブ ...
https://man.mtool.work/php/8.3/function.sodium-crypto-kdf-derive-from-key.html
サンプル | PHP 8.3 7238
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... s の例 Example#1044 - hash_copy の例 Example#1045 - hash_equals の例 Example#1046 - hash_file の使用例 Example#1047 - hash_hkdf の例 Example#1048 - hash_hmac の例 Example#1049 - hash_hmac_algos の例 Example#1050 - hash_hmac_file の例 Example#1051 - 段 ...
https://man.mtool.work/php/8.3/indexes.examples.html
PREV 1 NEXT