PIN operations
answers with CB
Translate a PIN from TPK to ZPK or BDK (3DES/AES DUKPT) encryption — a key-block destination with usage B0/41 selects the DUKPT path; under a variant LMK the wire flags it with * (BDK-1) or ~ (BDK-2)
| Field | What it holds |
|---|---|
| TPK under LMK | Key Block LMK: enter the complete S key block. Variant LMK: 16 hex digits, U followed by 32, or T followed by 48. |
| ZPK under LMK32 or 48 or 97 or 129 chars | S… key block (97/129 chars); CA: a BDK block (usage B0/41) selects DUKPT — '*' is the variant-LMK flag |
| KSN Descriptor3 chars | 3 hex: BDK-id len / reserved / device-id len (e.g. A05) — BDK destination only |
| Key Serial Number20 chars | 20 hex digits — BDK/DUKPT path only |
| Maximum PIN Length | 4-12 (default 12) |
| PIN Block (HEX)16 or 32 chars | 16 hex chars, or 32 for format 48 |
| Source PIN Block Format2 chars | 01 (ISO 0), 05 (ISO 1), 34 (ISO 2), 47 (ISO 3), 48 (ISO 4), 04 (PLUS), 35 (Pay Now/Later) |
| Destination PIN Block Format2 chars | defaults to the source format |
| PAN relationship | Different PANs requires Enable use of Tokens in PIN Translation on the selected HSM. |
| PAN | 12-19 digit card number |
| Destination PAN | PAN used to form the destination PIN block. |
| Message trailer | Optional · up to 32 printable ASCII bytes, echoed unchanged (Core pp.341–342). |
The four zeros are the message header. The device echoes them in its response.
0000CAS10096P0TD00N00009B3836B758411015B034423C24E9956535729BD7BFAA3419B2A49A109237A711AF8A658461C6B25FS10096P0TE00N00004648B9AA7F4428AADA1F0FAF8F1F5CD4A7857B6300AC04678A05A8989368E22F903C80379DD51A0E12890EF2F47E6D9A8A0101000123456789
0000CAS10096P0TD00N00009B3836B758411015B034423C24E9956535729BD7BFAA3419B2A49A109237A711AF8A658461C6B25FS10096B0TX00N00005798E024663B88B6C7EBF4F467C13E77C7A1D019728C24F2D0C8CD1A20DD92550FD434C9FBEA561DA05BC75601102A00040001F12890EF2F47E6D9A8A0101000123456789
Opens the simulator with this command already filled in.