ドロップダウンリストを表示

Test of password_hash() このページは英語でのみ提供されています。

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test not validated (platform dependant or random result etc.)
Example #3 : test not validated (platform dependant or random result etc.)
Example #1
$input = [
  
=> 'rasmuslerdorf',
  
=> 'PASSWORD_DEFAULT',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => '$2y$10$7WOPNzKOxOC0Z630sJWd5OphFwBDDgxKJQ9mOsMLM6XTaGCXgFk4S',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'rasmuslerdorf',
  
=> 'PASSWORD_BCRYPT',
  
=> [
    
'cost' => 12,
  ],
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => '$2y$12$Hd.x2jwaow49uTN4pLEpC.sBsuQqrs/sgltYlmBkvFSqb54tbTQ4G',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 'test',
  
=> 'PASSWORD_BCRYPT',
  
=> [
    
'cost' => 8,
  ],
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'string' => '$2y$08$Lbik2VEwCakuQyTA85kNJuL/ZRxIt46XhYVpEwwB.QJubUrJ3pxsu',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]