Dukpt Level Four Data Output Original Format - ID Tech SecureMag User Manual

Encrypted magstrip reader
Hide thumbs Also See for SecureMag:
Table of Contents

Advertisement

Track x data length does not include the byte of "Track x data LRC", it is <30> <30> in case of
read error on track x.
Track Data
"Card Track x LRC code" is track x card data.
Track x LRC
"Track x data LRC" is an LRC to check track x data communication; XOR all characters start from
"Track x ID" to "Track x data LRC" should be 0.

10.3. DUKPT Level Four Data Output Original Format

For ISO cards both masked clear, encrypted data, and no clear data are sent. Clear data is sent will be
sent to other cards.
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 2-byte length of <Card Data>.
<CheckLRC> is a 1-byte Exclusive-OR sum calculated for all <Card Data>.
<CheckSum> is a 1-byte Sum value calculated for all <Card data>.
<Card Data> card data format is shown below.
ISO/ABA Data Output Format:
card encoding type
track status
track 1 unencrypted length
track 2 unencrypted length
track 3 unencrypted length
track 1 masked
track 2 masked
track 3 data
track 1,2 encrypted
track 1 hashed
track 2 hashed
DUKPT serial number
SecureMag Encrypted MagStrip Reader User Manual
(0: ISO/ABA, 4: for Raw Mode)
(bit 0,1,2:T1,2,3 decode, bit 3,4,5:T1,2,3 sampling)
(1-byte, 0 for no track1 data)
(1-byte, 0 for no track2 data)
(1-byte, 0 for no track3 data)
(Omitted if in Raw mode)
(Omitted if in Raw mode)
(Omitted if in Raw mode)
(AES/TDES encrypted data)
(20 bytes SHA1-Xor)
(20 bytes SHA1-Xor)
(10 bytes)
Page | 32

Advertisement

Table of Contents
loading

Table of Contents