Examples
Example keys and passwords are public test material.
A release identifier
Input
52454c454153454fExpected checks
XTEA Decrypt recovers:
52454c454153454f- Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
A sensor label
Input
53454e534f525745Expected checks
XTEA Decrypt recovers:
53454e534f525745- Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
A telescope target
Input
4d4f4f4e50484153Expected checks
XTEA Decrypt recovers:
4d4f4f4e50484153- Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
A toy puzzle clue
Input
464f4c4c4f574249Expected checks
XTEA Decrypt recovers:
464f4c4c4f574249- Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
An archive marker
Input
4152434849564544Expected checks
XTEA Decrypt recovers:
4152434849564544- Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
ECB, 16 rounds differs from 32 rounds
Input
4142434445464748Expected answer
497df3d072612cb5497df3d072612cb5
- Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
ECB, all-zero key, 'AAAAAAAA'
Input
4141414141414141Expected answer
ed23375a821a8c2ded23375a821a8c2d
- Key
{"option":"Hex","string":"00000000000000000000000000000000"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
ECB, all-zero key, 'ABCDEFGH'
Input
4142434445464748Expected answer
a0390589f8b8efa5a0390589f8b8efa5
- Key
{"option":"Hex","string":"00000000000000000000000000000000"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
ECB, all-zero key, all-zero plaintext
Input
0000000000000000Expected answer
dee9d4d8f7131ed9dee9d4d8f7131ed9
- Key
{"option":"Hex","string":"00000000000000000000000000000000"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
ECB, all-zero key, sequential plaintext
Input
0102030405060708Expected answer
065c1b8975c6a816065c1b8975c6a816
- Key
{"option":"Hex","string":"00000000000000000000000000000000"}- IV
{"option":"Hex","string":""}- Mode
ECB- Input
Hex- Output
Hex- Padding
NO- Rounds
32
XTEA retains the simplicity and compact implementation of TEA whilst providing significantly improved security. It is frequently encountered in malware analysis and CTF challenges due to its straightforward implementation. Key: Must be exactly 16 bytes (128 bits). IV: The Initialisation Vector should be 8 bytes (64 bits). If not entered, it will default to null bytes. Rounds: The recommended number of rounds is 32 (default). The reference implementation by Wheeler & Needham accepts a configurable round count. Padding: In CBC and ECB mode, the PKCS#5 padding scheme is used.
Format reference: XTEA Encrypt background and specification