payShield host commands

PIN operations

payShield EE — Derive PIN IBM

answers with EF

Derive PIN using IBM method

Fields

FieldWhat it holds
PVK Pair under LMK32 or 97 or 129 charsS… key block (97/129 chars), or 32 hex under a variant LMK
PIN Offset4-12 digits, F-padded to 12 on the wire (e.g. 2555FFFFFFFF)
PAN12-19 digit card number
Decimalization Table0123456789012345
PIN Validation Data12 hex, five 'N's = last 5 PAN digits (e.g. 4000001NNNNN), or P+16 hex
PIN Length4-12

Worked values

Example values for each field. The key blocks work against the Thales test LMK the simulator ships with.

PVK Pair under LMK
S10096V2TE00N00006426E5B63A3E97046F1D34EC724082023DE11816F49992217D1A173CA0954ED0C69BB4E342C1A415
PIN Offset
2555
PAN
4000001234567899
Decimalization Table
0123456789012345
PIN Validation Data
400000123456
PIN Length
04
Open EE in the simulator

PIN operations