Results of 1 - 1 of about 1 for inputKey (0.001 sec.)
- hash_hkdf — 与えられたキーから導出されるHKDFキーを生成する | PHP 8.3 9414
- 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 パ
... るキーペアを生成します。 例1 hash_hkdf() の例 <?php // ランダムなキーと、導出するキーを強力にするためのソルトを生成します。 $inputKey = random_bytes ( 32 ); $salt = random_bytes ( 16 ); // 上で生成した同じ入力を使い、異なるキーのペアを導出します。 $encrypt ... ionKey = hash_hkdf ( 'sha256' , $inputKey , 32 , 'aes-256-encryption' , $salt ); $authenticationKey = hash_hkdf ( 'sha256' , $inputKey , 32 , 'sha-256-authenticatio ...
-
https://man.mtool.work/php/8.3/function.hash-hkdf.html
PREV
1
NEXT