Display the drop-down list

Test of crypt()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #5 : test success
Example #6 : test success
Example #1
$input = [
  
=> 'rasmuslerdorf',
  
=> 'rl',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'rl.3StKT.4T8M',
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]
Example #2
$input = [
  
=> 'rasmuslerdorf',
  
=> '_J9..rasm',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '_J9..rasmBYk8r9AiWNc',
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]
Example #3
$input = [
  
=> 'rasmuslerdorf',
  
=> '$1$rasmusle$',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '$1$rasmusle$rISCgZzpwk3UhDidwXvin0',
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]
Example #4
$input = [
  
=> 'rasmuslerdorf',
  
=> '$2a$07$usesomesillystringforsalt$',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '$2a$07$usesomesillystringfore2uDLvp1Ii2e./U9C8sBjqp8I90dH6hi',
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]
Example #5
$input = [
  
=> 'rasmuslerdorf',
  
=> '$5$rounds=5000$usesomesillystringforsalt$',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '$5$rounds=5000$usesomesillystri$KqJWpanXZHKq2BOB43TSaYhEWsQ1Lr5QNyPCDH/Tp.6',
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]
Example #6
$input = [
  
=> 'rasmuslerdorf',
  
=> '$6$rounds=5000$usesomesillystringforsalt$',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '$6$rounds=5000$usesomesillystri$D4IrlXatmP7rx3P3InaxBeoomnAihCKRVQP22JZ6EY47Wc6BkroIuUUBOov1i.S5KPgErtP/EN5mcO.ChWQW21',
  ],
  
'php_version' => '7.1.25 Linux x86_64',
]