X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b9411ebac8c2bb84db94f758b9c960d64519c5ce..715bed50234cb73cd3cb646e41021e93b3cff6b5:/client/lualibs/utils.lua?ds=sidebyside diff --git a/client/lualibs/utils.lua b/client/lualibs/utils.lua index bf62fc88..39f8bca2 100644 --- a/client/lualibs/utils.lua +++ b/client/lualibs/utils.lua @@ -75,9 +75,9 @@ local Utils = if #s == 0 then return nil end if type(s) == 'string' then local utils = require('utils') - local ascii = utils.ConvertHexToAscii(s) - local hashed = core.iso14443b_crc(ascii) - return utils.ConvertAsciiToHex(hashed) + return utils.ConvertAsciiToHex( + core.iso14443b_crc(s) + ) end return nil end,