<?php
$save_passwd = crypt('abcdefg', '$6$rounds=5000$'.md5(microtime(true)).'$');
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 "방가우ㅘ요아ㅐ"
}
?>
- Output for 5.4.18 - 5.4.19
- Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/UdjPo on line 10
Process exited with code 255. - Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
- Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/aHIMW on line 10
Process exited with code 255.
preferences:
194.63 ms | 940 KiB | 56 Q