equal
deleted
inserted
replaced
2383 } |
2383 } |
2384 function runEncryption() |
2384 function runEncryption() |
2385 { |
2385 { |
2386 if(testpassed) |
2386 if(testpassed) |
2387 { |
2387 { |
|
2388 var frm = document.forms.'.$form_name.'; |
2388 pass = frm.'.$pw_field.'.value; |
2389 pass = frm.'.$pw_field.'.value; |
2389 chal = frm.'.$challenge.'.value; |
2390 chal = frm.'.$challenge.'.value; |
2390 challenge = hex_md5(pass + chal) + chal; |
2391 challenge = hex_md5(pass + chal) + chal; |
2391 frm.'.$challenge.'.value = challenge; |
2392 frm.'.$challenge.'.value = challenge; |
2392 pass = stringToByteArray(pass); |
2393 pass = stringToByteArray(pass); |