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.
1 parent 51a7ec8 commit fd76420Copy full SHA for fd76420
core/S256SUM.LUA
@@ -140,18 +140,14 @@ function sha256_file(file)
140
TF(c, H)
141
end
142
143
- local function h(x)
144
- return string.format("%08x", x)
145
- end
146
-
147
-- l = Final hash string
148
- l = {}
+ l = ""
149
150
for _, v in ipairs(H) do
151
- table.insert(l, h(v))
+ l = l .. string.format("%08x", v)
152
153
154
- return table.concat(l)
+ return l
155
156
157
if LIB then
0 commit comments