TEA Encryption Tool

Encrypt data with TEA. 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

TEA Decrypt recovers:
52454c454153454f
Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
IV
{"option":"Hex","string":""}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
A sensor label

Input

53454e534f525745

Expected checks

TEA Decrypt recovers:
53454e534f525745
Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
IV
{"option":"Hex","string":""}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
A telescope target

Input

4d4f4f4e50484153

Expected checks

TEA Decrypt recovers:
4d4f4f4e50484153
Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
IV
{"option":"Hex","string":""}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
A toy puzzle clue

Input

464f4c4c4f574249

Expected checks

TEA Decrypt recovers:
464f4c4c4f574249
Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
IV
{"option":"Hex","string":""}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
An archive marker

Input

4152434849564544

Expected checks

TEA Decrypt recovers:
4152434849564544
Key
{"option":"Hex","string":"000102030405060708090a0b0c0d0e0f"}
IV
{"option":"Hex","string":""}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO
ECB, all-zero key and plaintext

Input

0000000000000000

Expected answer

41ea3a0a94baa940
Key
{"option":"Hex","string":"00000000000000000000000000000000"}
IV
{"option":"Hex","string":""}
Mode
ECB
Input
Hex
Output
Hex
Padding
NO

TEA is notable for its simplicity and compact implementation, making it frequently encountered in malware analysis and CTF challenges. Despite its elegance, TEA has known weaknesses including equivalent keys and susceptibility to related-key attacks, leading to successors XTEA and XXTEA. 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. Padding: In CBC and ECB mode, the PKCS#5 padding scheme is used.

Format reference: TEA Encrypt background and specification

Related tools

Browse encryption / encoding tools