perlAffen has asked for the wisdom of the Perl Monks concerning the following question:
so this MD5 encodes the password, then MD5 encodes it again after adding a one_time_token. I assume it is concatentation ?function validate_form(form) { var passwd_enc = calcMD5(form.password.value); var final_to_encode = passwd_enc +<br> form.one_time_token.value; form.encoded_pw.value = calcMD5(final_to_encode); form.password.value = ""; return true; }
Edited by planetscape - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl to run a js script
by jonadab (Parson) on Apr 13, 2006 at 02:44 UTC | |
|
Re: perl to run a js script
by GrandFather (Saint) on Apr 13, 2006 at 02:49 UTC | |
by Zerhash (Scribe) on Apr 13, 2006 at 03:28 UTC | |
by Anonymous Monk on Apr 13, 2006 at 03:50 UTC | |
by Zerhash (Scribe) on Apr 13, 2006 at 18:46 UTC | |
by chibiryuu (Beadle) on Apr 13, 2006 at 20:22 UTC |