User manual
Copyright © 2011, Unitech America Inc. All rights reserved.
Page 36 of 61
MS246 User Manual
if card encoding type is a 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 encrypted (AES/TDES encrypted data)
track 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
track 2 data
track 3 data
Note track formatting (preamble, prefix, separator, etc.) is not supported in a
reader set to send encrypted track data. The track data is always sent in the same
format that is with no special formatting so that the program doing the decoding
can know where the data field is located.
Notes:
Offset to the fields can be determined by adding the field lengths, using the
track data for the track field lengths. Fields are packed in the next available
location.
T1, T2 or T3 Data Length: Each byte value indicates how many bytes of
decoded card data are in the track data field. This value will be zero if there is
no data on the track or if there is an error decoding the track.
The encrypted section is padded with zeros to the block size of the encryption
type, 8 bytes for TDES and 16 bytes for AES.
The hashed data may optionally be omitted, and also track 3 may be hashed and
included.