From: Benjamin Auder Date: Tue, 23 Jan 2018 00:16:20 +0000 (+0100) Subject: remove extra braces X-Git-Url: https://git.auder.net/images/doc/html/Rlogo.svg?a=commitdiff_plain;h=6853a9621eda668965bb56380fbc0a8e3ba76c2d;p=sha1.git remove extra braces --- 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;