sha1.php
<form> <input type=text name=password> <input type=submit> </form> <? if($password!="") { echo sha1($passwd); } ?>