by Decaf,
This is a simple MD5 generator, you can read about the md5
here. Enjoy!
PHP Code:
<html>
<head>
<title>Md5 Hasher</title>
</head>
<body>
<h2 align="center">Md5 Hasher!</h2>
<form method="post">
<input type="text" name="md5" /> Please enter a string to hash.<br />
<input type="file" name="md5-file" /> Please Upload a file to hash (optional).<br />
<input type="submit" value="Hash It!" />
</form>
<hr color="black" size="2" noshade />
<?php
if ($_POST["md5"] == "") {
print "No string entered";
} else {
print "The String's Md5 is:<b> ";
print md5($_POST["md5"]);
print "</b>";
}
// Spacer
print "<br />";
// End Spacer
if ($_POST["md5-file"] == "") {
print "No file submitted";
} else {
print "The File's Md5 is:<b> ";
print md5($_POST["md5-file"]);
print "</b>";
}
?>
<hr color="#999999" size="2" noshade />
<font style="font-size:8pt;font-style:italic;">The larger the file you upload (1 MB+) will take longer to upload.
Files and inputted strings are not saved to the server.</font>
</body>
</html>