payShield host commands

PIN operations

payShield NG — Decrypt an Encrypted PIN

answers with NH

Decrypt a PIN held under the LMK and return a reference number

Fields

FieldWhat it holds
PAN12-19 digit card number
PIN under LMK16 hex chars, or 'M' + 32 hex under an AES LMK

On the wire

The four zeros are the message header. The device echoes them in its response.

Decrypt an Encrypted PIN

0000NG4000001234567899;M3D74E877D3F3F62B049262C1B5E48521

4-char headercommand50 bytes of fields
Send NG to the simulator

Opens the simulator with this command already filled in.

PIN operations