payShield host commands

PIN operations

payShield JG — Translate PIN LMK→ZPK

answers with JH

Translate PIN from LMK to ZPK

Fields

FieldWhat it holds
ZPK under LMK32 or 48 or 97 or 129 charsS… key block (97/129 chars); CA: a BDK block (usage B0/41) selects DUKPT — '*' is the variant-LMK flag
PIN under LMK16 hex chars, or 'M' + 32 hex under an AES LMK
Source PIN Block Format2 chars01 (ISO 0), 05 (ISO 1), 34 (ISO 2), 47 (ISO 3), 48 (ISO 4), 04 (PLUS), 35 (Pay Now/Later)
PAN12-19 digit card number

On the wire

Complete host messages. Each runs against the KeyLab simulator as printed. The header is four zeros here; the device echoes back whatever you send.

Translate PIN LMK→ZPK

0000JGS10096P0TE00N00004648B9AA7F4428AADA1F0FAF8F1F5CD4A7857B6300AC04678A05A8989368E22F903C80379DD51A0E014000001234567899;M3D74E877D3F3F62B049262C1B5E48521

4-char headercommand149 chars of fields
Send JG to the simulator

Opens the simulator with this command already filled in.

PIN operations