src/java.base/share/classes/com/sun/crypto/provider/PBES1Core.java
changeset 47417 5984d1c9d03d
parent 47407 2f79180e86e9
child 51504 c9a3e3cac9c7
equal deleted inserted replaced
47416:a627f88bed3a 47417:5984d1c9d03d
   282             }
   282             }
   283             if (i==4) { // same, invert 1st half
   283             if (i==4) { // same, invert 1st half
   284                 for (i=0; i<2; i++) {
   284                 for (i=0; i<2; i++) {
   285                     byte tmp = salt[i];
   285                     byte tmp = salt[i];
   286                     salt[i] = salt[3-i];
   286                     salt[i] = salt[3-i];
   287                     salt[3-1] = tmp;
   287                     salt[3-i] = tmp;
   288                 }
   288                 }
   289             }
   289             }
   290 
   290 
   291             // Now digest each half (concatenated with password). For each
   291             // Now digest each half (concatenated with password). For each
   292             // half, go through the loop as many times as specified by the
   292             // half, go through the loop as many times as specified by the