EasyManua.ls Logo

IDTECH SecureMag - DUKPT Level 4 Data Output Original Format

IDTECH SecureMag
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Copyright © 2010-2014, International Technologies & Systems Corp. All rights reserved.
Page 40 of 74
SecureMag User Manual
10.4 DUKPT Level 4 Data Output Original Format
For ISO card, both clear and encrypted data are sent. For other card, only clear
data are sent.
A card swipe returns the following data:
Card data is sent out in format of
<STX><LenL><LenH><Card Data><CheckLRC><CheckSum><ETX>
<STX> = 02h, <ETX> = 03h
<LenL><LenH> is a two byte length of <Card Data>.
<CheckLRC> is a one byte Exclusive-OR sum calculated for all <Card Data>.
<CheckSum> is a one byte Sum value calculated for all <Card data>.
<Card Data> format is
ISO/ABA Data Output Format:
card encoding type (0: ISO/ABA, 4: for Raw Mode)
track status (bit 0,1,2:T1,2,3 decode, bit
3,4,5:T1,2,3 sampling)
track 1 unencrypted length (1 byte, 0 for no track1 data)
track 2 unencrypted length (1 byte, 0 for no track2 data)
track 3 unencrypted length (1 byte, 0 for no track3 data)
if card encoding type high bit set
mask and clear sent track status
encrypt and hash sent track status
In this mode tracks are encrypted separately rather than as a group
track 1 masked (Omitted if in Raw mode)
track 2 masked (Omitted if in Raw mode)
track 3 data (Omitted if in Raw mode)
track 1&2 encrypted (AES/TDES encrypted data)
sessionID encrypted (AES/TDES encrypted data)
track 1 hashed (20 bytes SHA1-Xor)
track 2 hashed (20 bytes SHA1-Xor)
track 3 hashed (optional) (20 bytes SHA1-Xor)
DUKPT serial number (10 bytes)
Non ISO/ABA Data Output Format:
card encoding type (1: AAMVA, 3: Others)
track status (bit 0,1,2:T1,2,3 decode, bit
3,4,5:T1,2,3 sampling)
track 1 length (1 byte, 0 for no track1 data)
track 2 length (1 byte, 0 for no track2 data)
track 3 length (1 byte, 0 for no track3 data)
track 1 data

Table of Contents

Related product manuals