includes/sessions.php
changeset 58 8f532d8ab5f5
parent 57 b354deeaa4c4
child 72 bda11e521e8a
equal deleted inserted replaced
48:fc9762553a3c 58:8f532d8ab5f5
  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);