remove extra braces master
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 23 Jan 2018 00:16:20 +0000 (01:16 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 23 Jan 2018 00:16:20 +0000 (01:16 +0100)
sha1.js

diff --git a/sha1.js b/sha1.js
index cc352d0..f8b23e9 100644 (file)
--- 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;