<?php
 
// Generate 3 most common hashes from custom input
 // Copyright (C) 2007  somethief.net team
 // You are free to edit/share/use this source.
 // You are NOT allowed to sell this source in any case!
 // For any other uses please contact somethief@somethief.net

 // You can use public version of this source @ http://www.somethief.net/hash
?>
<html><head><title>Somethief.net - Hash generator</title></head><body>
<?php
echo '<form>Text to create hash from: <input type="text" name="q"><br><input type="submit" value="Generate"></form>';
$q $_GET["q"];
echo 
"<br><br>Plaintext: <b>$q</b><br>MD5: <b>".md5($q)."</b><br>SHA1: <b>".sha1($q)."</b><br>Linux crypt: <b>".crypt($q)."</b><br>";
?>
</body></html>