payShield host commands

Key management

payShield A0 — Generate Key

answers with A1

Generate, generate + export under a ZMK/TMK, or derive via DUKPT (Modes 0/1/A/B) — the key is returned as a key block under the LMK

On the wire

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

Generate a Key

0000A00FFFS%00#K0A3B00E00

4-char headercommand19 bytes of fields
Generate & Export a Key

0000A01FFFSS10128K0AB00E0000C01D423ABA0B7DEA70730E4A1A6A80473FFB9E245052A577BEAF6528A8F22765EC41BB59EC9537BB02AF350C8116A210AAB31094431F930FR%00#K0A3B00E00!D

4-char headercommand151 bytes of fields
Derive a Key

0000A0AFFFS01S10096B0AX00S000071AFA986969E9B1887F93AA404AD262C53E2EB3FCA6A30034B55471BE219627001EF0390EF83B5773039505912345678%00#B1A1N00S00

4-char headercommand134 bytes of fields
Derive & Export a Key

0000A0BFFFS01S10096B0AX00S000071AFA986969E9B1887F93AA404AD262C53E2EB3FCA6A30034B55471BE219627001EF0390EF83B5773039505912345678S10128K0AB00E0000C01D423ABA0B7DEA70730E4A1A6A80473FFB9E245052A577BEAF6528A8F22765EC41BB59EC9537BB02AF350C8116A210AAB31094431F930FR%00#B1A1N00S00!D

4-char headercommand266 bytes of fields
Send A0 to the simulator

Opens the simulator with this command already filled in.

Key management