if #s == 0 then return nil end\r
if type(s) == 'string' then\r
local utils = require('utils')\r
- local ascii = utils.ConvertHexToAscii(s)\r
- local hashed = core.iso14443b_crc(ascii)\r
- return utils.ConvertAsciiToHex(hashed)\r
+ return utils.ConvertAsciiToHex(\r
+ core.iso14443b_crc(s)\r
+ )\r
end\r
return nil \r
end,\r