<?php
/*
Author : RieqyNS13
email :
[You must be registered and logged in to see this link.]site : rieqyns13.com
*/
if(isset($_POST['btnSubmit'])){
$string = $_POST['txstring'];
$md5 = md5($string);
$sha1 = sha1($string);
$base64 = base64_encode($string);
$crypt = crypt($string);
}else{
$string = "";
$md5 = "";
$sha1 = "";
$base64 = "";
$crypt = "";
}
?>
<html>
<head>
<title>.::Hashing the string::..</title>
<link rel="shorcut icon" href="keys.ico">
<meta name="auhtor" content="RieqyNS13">
<meta name="owner" content="RieqyNS13 and Cmonhackns">
<meta name="description" content="Hashing the string">
<meta name="Copyright" content="Copyright © 2012 RieqyNS13 Cmonhackns">
<meta http-equiv="Content-type" content="text/html;UTF-8">
<style type="text/css">
body{
background-color:#000;
color:#0F0;
}
p.judul{
text-transform:capitalize;
text-align:center;
font-weight:bold;
font-size:17px;
font-family:"Courier New";
}
table{
font-family:"Courier New";
font-size:14px;
}
input#tx:hover{
background-color:#000;
color:#F00;
}
input#btn:hover{
background-color:#000;
color:#0F0;
}
input#tx{
width:700px;
font-family:"Courier New";
}
input#btn{
width:300px;
}
</style>
</head>
<body>
<p class="judul">.::hashing the string::..</p>
<br>
<form action="<?php $_SERVER['PHP_SELF']; ?>" method=POST>
<table border=1 cellspacing=0 cellpadding=0>
<tr><td>String :</td><td><input type="text" id="tx" name="txstring" value="<?php echo $string; ?>"></td></tr>
<tr><td>MD5 :</td><td><input type="text" id="tx" name="txmd5" value="<?php echo $md5; ?>" readonly="YES"></td></tr>
<tr><td>SHA1 :</td><td><input type="text" id="tx" name="txsha1" value="<?php echo $sha1; ?>" readonly="YES"></td></tr>
<tr><td>Base64 :</td><td><input type="text" id="tx" name="txbase64" value="<?php echo $base64; ?>" readonly="YES"></td></tr>
<tr><td>Crypt :</td><td><input type="text" id="tx" name="txcrypt" value="<?php echo $crypt; ?>" readonly="YES"></td></tr>
<tr><td></td><td><center><input type="submit" id="btn" name="btnSubmit" value="Encrypt"></center></td></tr>
</form>
</body>
</html>