<html>
<!-- Min's Wep Key Generator >
<!-- minhsao@mintrix.net for more info >
<!-- version 0.001 06/04/2003>
<title>
Min's Text to Hex WEP Key creator
</title>

<body>
<h1>WEP KEY Generator</h1>
<br>
5 character text = 40 bits (for 64 bits WEP Key)
<br>
13 character tex = 104 bits (for 128 bits WEP Key)
<br>
<small><a href="http://www.practicallynetworked.com/support/mixed_wep.htm">Why is it 40 /104 bits???</a></small>
<br><br>
<?
// Hex converter from text to hex
$hex=bin2hex($string);
?>
<form method="post" action="wepkey.php">

Enter your Text phrase (5 - 13 characters)
<br>
<input type="text" name="string" value="<? echo "$string"?>" size="13"><br>
<?
if ($hex) {
   
$length=strlen($string);
   
$hlen=strlen($hex);
   echo 
"String Length : $length <br>";
   echo 
"<br>";
   echo 
"WEP KEY : $hex <br>";
   echo 
"WEP KEY Length $hlen <br>";
}
?>
<br>
<input type="submit" value="Get WEP KEY"  >
</form>
<br><br>
<small><a href="http://www.mintrix.net/projects/">ver. 0.001</a></small>
</body>

</html>