functionalscript 0.0.540 → 0.0.542
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +1 -1
- package/package.json +1 -1
- package/sha2/module.f.cjs +4 -1
package/.github/workflows/ci.yml
CHANGED
package/package.json
CHANGED
package/sha2/module.f.cjs
CHANGED
|
@@ -129,7 +129,8 @@ const compress = ([a0, b0, c0, d0, e0, f0, g0, h0]) => data => {
|
|
|
129
129
|
let g = g0
|
|
130
130
|
let h = h0
|
|
131
131
|
|
|
132
|
-
|
|
132
|
+
let i = 0;
|
|
133
|
+
while (true) {
|
|
133
134
|
const ki = k[i]
|
|
134
135
|
for (let j = 0; j < 16; ++j) {
|
|
135
136
|
const t1 = h + bigSigma1(e) + ch(e)(f)(g) + ki[j] + w[j]
|
|
@@ -143,6 +144,8 @@ const compress = ([a0, b0, c0, d0, e0, f0, g0, h0]) => data => {
|
|
|
143
144
|
b = a
|
|
144
145
|
a = (t1 + t2) | 0
|
|
145
146
|
}
|
|
147
|
+
if (i === 3) { break }
|
|
148
|
+
++i;
|
|
146
149
|
w = nextW(w)
|
|
147
150
|
}
|
|
148
151
|
|