X-Git-Url: https://git.auder.net/?p=sha1.git;a=blobdiff_plain;f=sha1.js;h=f8b23e9a69911b64b668bf840e003b919a01f39b;hp=cc352d0123c8528bbcc04dc8eb9f28868042ef51;hb=6853a9621eda668965bb56380fbc0a8e3ba76c2d;hpb=6dd00e11439ff129826f413dcb6818e4b1301be7 diff --git a/sha1.js b/sha1.js index cc352d0..f8b23e9 100644 --- a/sha1.js +++ b/sha1.js @@ -58,9 +58,7 @@ Sha1.Compute = function(subject) var w = new Array(80); for (j=0; j<16; j++) w[j] = blocks[i][j]; for (j=16; j<80; j++) - { w[j] = Sha1.LeftRotate(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1); - } // initialize a,b,c,d,e variables a = h0;