ccryptolib/spec/util.lua
2022-12-14 00:00:27 -03:00

10 lines
181 B
Lua

local function hexcat(t)
return table.concat(t):gsub("[^%x]*(%x%x)[^%x]*", function(h)
return string.char(tonumber(h, 16))
end)
end
return {
hexcat = hexcat,
}