Reader encryption status – MagTek USB MagnePrint Swipe Reader with Encryption User Manual

Page 31

Advertising
background image

Section 4. USB Communications

23

where:

ES

= P22 (end sentinel)

LRC

= Longitudinal redundancy check character

P5 =

Terminating

character

P11 =

Pre

card

character

P12

= Post card character

P13

= Pre track character

P14

= Post track character

P18

= Pre card string

P19

= Post card string

P35

= Programmable field separator; this defaults to the “|” key (0x7C). Note that this

key is never found in track data or the default programmable field separators.

Tk1 SS = P20 (ISO/ABA start sentinel)
Tk2 SS = P21 (ISO/ABA 5-bit start sentinel)

P6 (7-bit start sentinel)

Tk3 SS = P8 (ISO/ABA start sentinel)

P9 (AAMVA start sentinel)

P10 (7-bit start sentinel)


Track 1, Track 2 and Track 3 Encrypted Data includes the Start and End Sentinel that were
decoded from the card.

All fields with the format P# are programmable configuration property numbers. They are
described in detail later in this document.

Reader Encryption Status

This two byte field contains the Encryption Status. The Reader Encryption Status is sent in big
endian byte order. Byte 1 is the least significant byte. Byte 1 LSB is status bit 0. Byte 2 MSB is
status bit 15. The Reader Encryption status is defined as follows:

Bit 0

= Encryption Enabled (currently always set)

Bit 1

= Initial DUKPT key Injected

Bit 2

= DUKPT Keys exhausted

Bits 3- 15 = Unassigned (always set to Zero)

Notes:

(1) Encryption will only be performed when Encryption Enabled and Initial DUKPT key

Injected are set. Otherwise, data that are normally encrypted are sent in the clear in
ASCII HEX format; the DUKPT Serial Number/counter will not be sent.

(2) When DUKPT Keys Exhausted is set, the reader will no longer read cards and after a

card swipe, the reader response will be sent as follows:
[P18] [P11] [P13] [Reader Encryption Status] [P5] [P12] [P19]

Advertising