payShield host commands

PIN operations

payShield BA — Encrypt Clear PIN

answers with BB

Encrypt a clear PIN under the LMK

Fields

FieldWhat it holds
Clear PIN4-12 digit PIN
PAN12-19 digit card number
PIN under LMK TagM (current) or J (deprecated)

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.

Encrypt Clear PIN

0000BA1257F4000001234567899;

4-char headercommand22 chars of fields
Send BA to the simulator

Opens the simulator with this command already filled in.

PIN operations