Diff for /loncom/auth/londes.js between versions 1.6 and 1.9

version 1.6, 2002/03/23 20:40:57 version 1.9, 2009/05/22 17:01:28
Line 1 Line 1
 <script language="JavaScript">  <script type="text/javascript" language="JavaScript">
   // <![CDATA[
 // The LearningOnline Network with CAPA  // The LearningOnline Network with CAPA
 // Encryption Routines according to Data Encryption Standard DES  // Encryption Routines according to Data Encryption Standard DES
 // Federal Information Processing Standards Publication 46-2 (1993 Dec 30)  // Federal Information Processing Standards Publication 46-2 (1993 Dec 30)
Line 154  function shift(sreg) { Line 155  function shift(sreg) {
 // Initialize key-arrays according to uextkey and lextkey  // Initialize key-arrays according to uextkey and lextkey
   
 function initkeys() {  function initkeys() {
        init();
 // Constants    // Constants  
      var celements="574941332517 9 158504234261810 259514335271911 360524436";       var celements="574941332517 9 158504234261810 259514335271911 360524436";
      var delements="63554739312315 762544638302214 661534537292113 5282012 4";       var delements="63554739312315 762544638302214 661534537292113 5282012 4";
Line 374  function crypted(text) { Line 376  function crypted(text) {
     return(hexstring(b3)+hexstring(b2)+hexstring(b1)+hexstring(b0));      return(hexstring(b3)+hexstring(b2)+hexstring(b1)+hexstring(b0));
 }  }
   
   // ]]>
 </script>  </script>

Removed from v.1.6  
changed lines
  Added in v.1.9


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>