<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Salty.</title>
</head>
<body>
<?php
if ($_GET[password]){
    
$unsalted md5($_GET[password]);
    
$salted $_GET[password] . '!7'//The !7 is the salt.
    
$salted md5($salted);
    echo 
'Unsalted: <a href="http://md5.benramsey.com/md5.php?hash=' $unsalted '">' $unsalted '</a> <br>';
    echo 
'Salted: <a href="http://md5.benramsey.com/md5.php?hash=' $salted '">' $salted '</a> <br>';
}
else {
?>
<form>
<input type="password" name="password">
<input type="submit">
</form>
<?php
}
?>
</body>
</html>