X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a826cb0df1dd2cd11facd5ab8fe0618422fa0054..9aeda6cbfbfadd3be02f43165617b1ec4ff45425:/client/scripts/tnp3dump.lua diff --git a/client/scripts/tnp3dump.lua b/client/scripts/tnp3dump.lua index 44e59657..f3d377f7 100644 --- a/client/scripts/tnp3dump.lua +++ b/client/scripts/tnp3dump.lua @@ -216,7 +216,7 @@ local function main(args) local baseStr = utils.ConvertHexToAscii(tmpHash:format(blockNo)) local key = md5.sumhexa(baseStr) local aestest = core.aes128_decrypt(key, blockdata) - local hex = ConvertAsciiToHex(aestest) + local hex = utils.ConvertAsciiToHex(aestest) blocks[blockNo+1] = ('%02d :: %s'):format(blockNo,hex) io.write(blockNo..',')