From: Benjamin Auder Date: Tue, 23 Jan 2018 00:16:20 +0000 (+0100) Subject: remove extra braces X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/images/img/doc/scripts/config.php?a=commitdiff_plain;h=HEAD;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;