]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/lualibs/utils.lua
CHG: fix covertyscan error CID 133851, Cardstate can't not be SIM_NOFIELD when...
[proxmark3-svn] / client / lualibs / utils.lua
index bf62fc881429026b78ac790c182cbf4b67973a39..39f8bca2041b3a7509496868403a2950672de565 100644 (file)
@@ -75,9 +75,9 @@ local Utils =
                if #s == 0 then return nil end\r
                if  type(s) == 'string' then\r
                        local utils = require('utils')\r
                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
                end\r
                return nil              \r
        end,\r
Impressum, Datenschutz