Data & MAC
answers with M1
Encrypt a data block under a data key (D0/21/22/23) — ECB or CBC with IV
| Field | What it holds |
|---|---|
| Mode Flag1 or 2 chars | 00 (ECB), 01 (CBC — needs IV); other manual modes not implemented |
| Input Format1 chars | 1 (Hex-Encoded Binary — the console format) |
| Output Format1 chars | 1 (Hex-Encoded Binary — the console format) |
| Key under LMK32 or 48 or 97 or 129 chars | S… key block (97/129 chars), or 32/48 hex under a variant LMK |
| IV16 or 32 chars | CBC only: 16 hex (3DES) / 32 hex (AES) |
| Data Block (HEX) | Hex data (multiple of 16 chars for ECB) |
Complete host messages. Each runs against the KeyLab simulator as printed. The header is four zeros here; the device echoes back whatever you send.
0000M00011FFFS10096D0TB00S00004EA7F62C3D05B27FCD6ED9E4590D7BDEAD1F9777861CF80279772FB09EDC999B90F78F4C3E672F8C001600112233445566778899AABBCCDDEEFF
Opens the simulator with this command already filled in.