Card & EMV
answers with K5
Generate a transaction cryptogram using an E0 issuer master key. Schemes 2 and 3 use two-key TDES. Scheme 9 uses an AES MK-AC and CMAC over the supplied transaction bytes.
| Field | What it holds |
|---|---|
| Mode1 chars | 0 · generate ARQC |
| Scheme ID1 chars | 2 · Option A, 3 · Option B, 9 · Option C |
| MK-AC under LMK32 or 97 or 129 chars | S… key block (97/129 chars), or 32 hex under a variant LMK |
| Packed PAN and sequence number (hex) | 8 bytes for scheme 2, 8–99 bytes for schemes 3 and 9 |
| ATC (HEX)4 chars | 4 hex chars (2 bytes) |
| Transaction Data (HEX) | Concatenated EMV transaction data in hex (host adds any 0x80 padding) |
| Message trailer | Optional · up to 32 printable ASCII characters. |
Example values for each field. The key blocks work against the Thales test LMK the simulator ships with.