PHP – MD5 Password Generator
Posted by elg3ne on 10 Mar 2008 8:56 am. Filed under Scipts & Tutorials.
<html>
<head>
<title>MD5 password generator</title>
</head>
<body>
<h2>MD5 password generator</h2>
<?php
import_request_variables('P');
if($pw)
{
echo "The encrypted version of <b>$pw</b> is:<br>";
echo "<br><tt>" . strtoupper(decrypt_md5($pw)) . "</tt>";
}
?>
<p>
<form name="pw" method="post">
Enter a password to encrypt:<br>
<input type="text" name="pw">
<br>
<input type="submit" value="Submit">
</form>
<p>
<a href="md5.php.txt">View the source of this page</a>
</body>
</html>
<head>
<title>MD5 password generator</title>
</head>
<body>
<h2>MD5 password generator</h2>
<?php
import_request_variables('P');
if($pw)
{
echo "The encrypted version of <b>$pw</b> is:<br>";
echo "<br><tt>" . strtoupper(decrypt_md5($pw)) . "</tt>";
}
?>
<p>
<form name="pw" method="post">
Enter a password to encrypt:<br>
<input type="text" name="pw">
<br>
<input type="submit" value="Submit">
</form>
<p>
<a href="md5.php.txt">View the source of this page</a>
</body>
</html>
Note: I did not write this script. I just found it on the web. I’m just sharing the script. I used it once on my page.
Thank you.