6 - Magnetic Stripe Card Data Sent from Device to Host (MSR Only | Keypad Entry Only)
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 51 of 245 (
D998200115-17
)
6.13
Masked Track Data
6.13.1
About Masking
If decodable track data exists for a given track, the device uses the
Track x Masked Track Data
value
for that track to send a masked version of the data. The masked version includes one byte of data for each
character decoded from the track, starting with the Start Sentinel and ending with the End Sentinel.
In masked track data, the device sends a specified mask character instead of the actual character read from
the track. Which characters are masked depends on the
Card Encode Type (HID | TLV | GATT |
: Only ISO/ABA (Financial Cards with
ISO/IEC 7813
Format code B) and AAMVA cards are
selectively masked; all other card types are either sent entirely masked or entirely unmasked. More detail
about masking is included in the sections below about each specific track.
There are separate masking settings for ISO/ABA format cards and AAMVA format cards (See
and
Property 0x08 - AAMVA Track Mask
for more information). Each of
these settings allows the host software 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 a correction
should be applied to make the Mod 10 (Luhn algorithm) digit at the end of the PAN be correct.
provides an example of data from tracks 1, 2, and 3 of a swiped ISO/ABA card after it has been
decrypted or if the device has sent it in the clear.
shows the same data as it might appear with a
Table 6-5 – Sample ISO/ABA Swiped Track Data, Clear Text / Decrypted
Sample ISO/ABA Swiped Track Data, Clear Text / Decrypted
Track 1
%B6011000995500000^ TEST CARD ^15121015432112345678?
Track 2
;6011000995500000=15121015432112345678?
Track 3
;6011000995500000=15121015432112345678333333333333333333333?
Table 6-6 – Sample ISO/ABA Swiped Track Data, Masked
Sample ISO/ABA Swiped Track Data, Masked
Track 1
%B6011000020000000^ TEST CARD ^15120000000000000000?
Track 2
;6011000020000000=15120000000000000000?
Track 3
;6011000020000000=00000000000000000000000000000000000000000?
with fixed Data field lengths (such as USB HID format, GATT format, and SLIP format,
which are fixed at 112 bytes) include a
Masked Track Data Length
value for each track, which the host
should use to truncate and ignore undefined data past the end of the track data. Formats where the host
can easily determine where masked track data begins and ends (such as formats with delimiters or with
data length built in to the format itself) do not include explicit masked track data lengths.
6.13.2
Track 1 Masked Data Length (HID | GATT | SLIP)
This one-byte value indicates how many bytes of decoded card data are in the
value. This value is zero if there is no data on the track or if there was an error decoding the track.