I need a little check on my code if it is safe or not
$pass = "jitubond";
$hashed_password = md5($pass);
echo $hashed_password; // this is unsafe 100%
echo "<br>";
$hashed = hash("sha512", $pass); // style 1
echo $hashed;
echo "<br>";
$hashed = hash("sha512", $hashed_password); // style 2
echo $hashed;
Can you guide its is ok to use as password or not?
Thanks everyone =)