projects
/
sha1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dd00e1
)
remove extra braces
master
author
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 23 Jan 2018 00:16:20 +0000
(
01:16
+0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 23 Jan 2018 00:16:20 +0000
(
01:16
+0100)
sha1.js
patch
|
blob
|
blame
|
history
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;