XTEA Encryption Tool

Encrypt data with XTEA. Match the key, mode and other options to the source or receiving system.

Input: TextResult: Text

Text input

Run to see the result

Examples

Example keys and passwords are public test material.

A release identifier

Input

52454c454153454f

Expected 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

53454e534f525745

Expected 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

4d4f4f4e50484153

Expected 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

464f4c4c4f574249

Expected 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

4152434849564544

Expected 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

4142434445464748

Expected answer

497df3d072612cb5
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

4141414141414141

Expected answer

ed23375a821a8c2d
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

4142434445464748

Expected answer

a0390589f8b8efa5
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

0000000000000000

Expected answer

dee9d4d8f7131ed9
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

0102030405060708

Expected answer

065c1b8975c6a816
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

Related tools

Browse encryption / encoding tools