generateHash
<?php
if (isset($_POST["submit"])) {
echo (password_hash($_POST['string'], PASSWORD_BCRYPT));
} ?>
<!DOCTYPE html>
<html lang="nl">
<head>
<title>Generate Hash</title>
</head>
<body>
<form method="post">
<input type="text" name="string" />
<input type="submit" name="submit" />
</form>
</body>
</html>