$cost];
$hashedPassword = password_hash($password, PASSWORD_BCRYPT, $options);
} else {
$hashedPassword = "❌ Password cannot be empty.";
}
}
?>
Password Hash Generator
Password Hash Generator
Generate a secure bcrypt hash for your passwords. Adjust the cost parameter for added security.
Hashed Password: