ID TECH SecureHead SPI with TMIV User Manual
Page | 29
6.2.3.
Definitions
Start or End Sentinel:
Characters in encoding format which come before the first data character
(start) and after the last data character (end), indicating the beginning and end, respectively, of data.
Track Separator:
A designated character that separates data tracks.
Terminator:
A designated character that comes at the end of the last track of data, to separate card
reads.
6.3.
DUKPT Level 3 Data Output Enhanced Format
For ISO cards, both masked clear and encrypted data are sent; no unmasked clear data will be sent.
For other cards, only clear data is sent.
This mode is used when all tracks must be encrypted, or encrypted OPOS support is required, or
when the tracks must be encrypted separately or when cards other than type 0 (ABA bank cards)
must be encrypted or when Track3 must be encrypted. This format is the standard encryption format,
but not yet the default encryption format.
Card data is sent out in the following format
<STX><LenL><LenH><Card Data><CheckLRC><CheckSum><ETX>
Value Description
0
STX
1
Data Length low byte
2
Data Length high byte
3
Card Encode Type
4
Track1-3 Status
5
Track1 data length
6
Track2 data length
7
Track3 data length
8
Clear/masked data sent status
9
Encrypted/Hash data sent status
10
Track1 clear/mask data
Track2 clear/mask data
Track3 clear/mask data
Track1 encrypted data
Track2 encrypted data
Track3 encrypted data
Session ID info for Level 4 (Level 4 not available)
Track1 hashed (20 bytes each) (if encrypted and hash Track1 allowed)
Track2 hashed (20 bytes each) (if encrypted and hash Track2 allowed)