beautypg.com

Masked track data, Track 1 masked data, Track 2 masked data – MagTek iDynamo MagneSafe V5 User Manual

Page 11

background image

Section 2. Communications

5

Masked Track Data

If decodable track data exists for a given track, it is located in the Masked Track Data field that
corresponds to the track number.

The Masked Track Data is decoded and converted to ASCII and then it is “masked”. The
Masked Track Data includes all data starting with the start sentinel and ending with the end
sentinel. Much of the data is “masked”; a specified mask character is sent instead of the actual
character read from the track. The characters that are masked depend on the format of the card.
Only ISO/ABA (Financial Cards with Format Code B) and AAMVA cards are selectively
masked; all other card types are either entirely masked or sent totally in the clear. There is a
separate masking property for ISO/ABA cards and AAMVA cards. See the ISO Track Masking
property and the AAMVA Track Masking property for more information. (Refer to Appendix C
for a description of how ISO/ABA and AAMVA cards are identified.)

Each of these properties allows the application to specify masking details for the Primary
Account Number and Driver’s License / ID Number (DL/ID#), the masking character to be used,
and whether or not to apply an adjustment to force the Mod 10 9 (Luhn algorithm) digit at the
end of the number to be correct.

Track 1 Masked Data

This Simple ASCII field contains the Masked Track Data for track 1. The device transmits all
characters.

For an ISO/ABA card, the PAN is masked as follows:

• The specified number of initial characters is sent unmasked. The specified

number of trailing characters is sent unmasked. If Mod 10 correction is specified,
all but one of the intermediate characters of the PAN are set to zero; one of them
will be set such that last digit of the PAN calculates an accurate Mod 10 check of
the rest of the PAN as transmitted. If the Mod 10 correction is not specified, all
of the intermediate characters of the PAN are set to the specified mask character.

• The Card Holder’s name and the Expiration Date are transmitted unmasked.

• All Field Separators are sent unmasked.
• All other characters are set to the specified mask character.


For an AAMVA card, the specified mask character is substituted for each of the characters read
from the card.

Track 2 Masked Data

This Simple ASCII field contains the Masked Track Data for track 2.

For an ISO/ABA card, the PAN is masked as follows:

• The specified number of initial characters are sent unmasked. The specified

number of trailing characters are sent unmasked. If Mod 10 correction is
specified, all but one of the intermediate characters of the PAN are set to zero;
one of them will be set such that last digit of the PAN calculates an accurate Mod
10 check of the rest of the PAN as transmitted. If the Mod 10 correction is not
specified, all of the intermediate characters of the PAN are set to the specified
mask character.