We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
T
SINE
MD5SUM.LUA
EXBENCH.LUA
1 parent c7e1d0b commit 760a399Copy full SHA for 760a399
demo/xtra/MD5SUM.LUA
@@ -40,7 +40,7 @@ function md5_file(file)
40
local t = d
41
d = c
42
c = b
43
- b = (b + LS((a + f + wo[g + 1] + T[i]) & 0xFFFFFFFF, s)) & 0xFFFFFFFF
+ b = (b + LS((a + f + wo[g + 1] + SINE[i]) & 0xFFFFFFFF, s)) & 0xFFFFFFFF
44
a = t
45
end
46
A = (A + a) & 0xFFFFFFFF
@@ -76,8 +76,8 @@ function md5_file(file)
76
77
78
local function init()
79
- T = {}
80
- for i = 1, 64 do T[i] = math.floor(2 ^ 32 * math.abs(math.sin(i))) end
+ SINE = {}
+ for i = 1, 64 do SINE[i] = math.floor(2 ^ 32 * math.abs(math.sin(i))) end
81
82
83
if LIB then init() return end
0 commit comments