<input name="passinput" type="password" maxlength="20" size="20" tabindex="2"><
<input type="submit" value="Login" onClick="form.pass.value = hex_sha1(form.passinput.value); form.passinput.value='';" />
This way the password is always sent one way encypted (so you store the pasword encrypted as well and compare the 2 encrypted passwords). You could do a similar thing with usernames but store them unencrypted and just compare the encrytped versions.



Pages in this thread:
Print Thread
ian72