@ 2013-08-28T15:50:24Z <?php
$salt = md5(microtime(true));
$save_passwd = crypt('abcdefg', '$2y$07$'.$salt.'$');
$options = [
'cost' => 7,
'salt' => $salt,
];
$fofo = $password_hash('abcdefg', PASSWORD_BCRYPT, $options);
echo $fofo."\n";
echo $save_passwd.'\n';
$encrypt = crypt('abcdefg' , $save_passwd);
echo $encrypt.'\n';
if($encrypt == $save_passwd) echo "잘되었으면좋겠네요시발~";
$p = '$6$rounds=5000$a0f2b3982ee93269$elwPV03aKLzE5/BvG374xvJ8IA4sSG/pc7YyDJ3Ud9seBBfFJaMY9kIqHwQhz9fJOJ3kQVJ6oPjp6G9T9pOCB';
if(password_verify('abcdefg', $p)){
echo "방가우ㅘ요아ㅐ";
}
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.26 , 7.3.0 - 7.3.13 , 7.4.0 - 7.4.1 Notice: Undefined variable: password_hash in /in/LDbgM on line 8
Fatal error: Uncaught Error: Function name must be a string in /in/LDbgM:8
Stack trace:
#0 {main}
thrown in /in/LDbgM on line 8
Process exited with code 255 . Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 Notice: Undefined variable: password_hash in /in/LDbgM on line 8
Fatal error: Function name must be a string in /in/LDbgM on line 8
Process exited with code 255 . Output for 4.4.2 - 4.4.9 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 Parse error: syntax error, unexpected '[' in /in/LDbgM on line 4
Process exited with code 255 . Output for 4.3.0 - 4.3.1 , 4.3.5 - 4.3.11 , 4.4.0 - 4.4.1 , 5.0.0 - 5.0.5 Parse error: parse error, unexpected '[' in /in/LDbgM on line 4
Process exited with code 255 . Output for 4.3.2 - 4.3.4 Parse error: parse error in /in/LDbgM on line 4
Process exited with code 255 . preferences:dark mode live preview
248.03 ms | 401 KiB | 325 Q