Md5 Encryption tool html sederhana
Posted: Fri Nov 12, 2010 3:50 am
cuma pembelajaran saja khusus nubie
Md5 Encryption tool pake HTML
silakan di copy dan klu ada yang mau edit silakan
http://www.netheroes.org
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MD5 Encryption</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body
{
font-family: Arial, heltetica, verdana, sans-serif;
}
h1 {
font-size: 1.2em;
}
-->
</style>
</head>
<body>
<h1>MD5 Encryption</h1>
<form method="post" action="<?php $_SERVER["PHP_SELF"]; ?>">
<input type="hidden" name="act" value="submit" />
Password to encrypt:
<input type="text" name="password" />
<input type="submit" name="submit" value="Encrypt" />
</form>
<?php
if (isset($_POST["submit"]))
{
$hashed = md5($_POST["password"]);
print "
<p>The password <b>".$_POST["password"]."</b> when encrypted with the MD5 hash is:<br />
<i>$hashed</i>";
}
?>
</body>
</html>
thanks to netheroes team
Md5 Encryption tool pake HTML
silakan di copy dan klu ada yang mau edit silakan
http://www.netheroes.org
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MD5 Encryption</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body
{
font-family: Arial, heltetica, verdana, sans-serif;
}
h1 {
font-size: 1.2em;
}
-->
</style>
</head>
<body>
<h1>MD5 Encryption</h1>
<form method="post" action="<?php $_SERVER["PHP_SELF"]; ?>">
<input type="hidden" name="act" value="submit" />
Password to encrypt:
<input type="text" name="password" />
<input type="submit" name="submit" value="Encrypt" />
</form>
<?php
if (isset($_POST["submit"]))
{
$hashed = md5($_POST["password"]);
print "
<p>The password <b>".$_POST["password"]."</b> when encrypted with the MD5 hash is:<br />
<i>$hashed</i>";
}
?>
</body>
</html>
thanks to netheroes team