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

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

Decrypt an Encrypted PIN

0000NG4000001234567899;M3D74E877D3F3F62B049262C1B5E48521

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

Opens the simulator with this command already filled in.

PIN operations