Track 3 encrypted data length, Track 1 absolute data length, Track 2 absolute data length – MagTek MagneSafe V5 User Manual

Page 19: Track 3 absolute data length, Card encode type, Encrypted track data

Advertising
background image

Section 2. Communications

11

Track 3 Encrypted Data Length

This one-byte value indicates the number of bytes in the Track 3 encrypted data field. The field
is always a multiple of 8 bytes in length. This value will be zero if there was no data on the track
or if there was an error decoding the track. Once the encrypted data is decrypted, there may be
fewer bytes of decoded track data than indicated by this field. The number of bytes of decoded
track data is indicated by the Track 3 Absolute Data Length field.

Track 1 Absolute Data Length

This one-byte value indicates the number of useable bytes in the Track 1 Encrypted Data filed
after decryption.

Track 2 Absolute Data Length

This one-byte value indicates the number of useable bytes in the Track 2 Encrypted Data filed
after decryption.

Track 3 Absolute Data Length

This one-byte value indicates the number of useable bytes in the Track 3 Encrypted Data filed
after decryption.

Card Encode Type

This one-byte value indicates the type of encoding that was found on the card. The following
table defines the possible values.

Value

Encode Type

Description

0

ISO/ABA

ISO/ABA encode format (see Appendix E. Identifying ISO/ABA and
AAMVA Cards
for ISO/ABA description)

1

AAMVA

AAMVA encode format (see Appendix E. Identifying ISO/ABA and
AAMVA Cards
for AAMVA description)

2

Reserved

3

Blank

The card is blank.

4

Other

The card has a non-standard encode format. For example, ISO/ABA
track 1 format on track 2.

5

Undetermined

The card encode type could not be determined because no tracks could
be decoded.

6

None

No decode has occurred. This type occurs if no magnetic stripe data has
been acquired since the data has been cleared or since the reader was
powered on. This reader only sends an Input report when a card has
been swiped so this value will never occur.


Encrypted Track Data

If decodable track data exists for a given track, it is located in the Track x Encrypted Data field
that corresponds to the track number. The length of each Encrypted Data field is fixed at 112
bytes, but the length of valid data in each field is determined by the corresponding Encrypted
Data Length
field that corresponds to the track number. Data located in positions greater than
the encrypted track data length field indicates are undefined and should be ignored. The HID
specification requires that reports be fixed in size, but the number of bytes encoded on a card

Advertising