Which is the most secure way to avoid storing a password in clear text in database?
$encrypted = crypt($password, \$salt);
$encrypted = shal($password);
$encrypted = password_hash($password, PASSWORD_DEFAULT);
$encrypted = md5($password);