Tool for encrypting and decrypting data using the XXTEA algorithm (Tiny Encryption Algorithm).
Supported Tools:
Encrypt and decrypt text with XXTEA (Corrected Block TEA) using a passphrase. Runs entirely in your browser.
XXTEA, also called Corrected Block TEA, is a small block cipher published by David Wheeler and Roger Needham in 1998 as a fix for weaknesses in the earlier Block TEA design. It is prized for how little code it takes to implement, which made it popular for embedded devices, game data and lightweight obfuscation. This tool applies the cipher to arbitrary text with a passphrase you choose, so you can protect short messages or inspect XXTEA output during reverse engineering and debugging.
Input:
Plaintext: Hello Key: password
Output:
KIiMJ+NcfCL9cOeD
Is XXTEA the same as TEA?
No. TEA and XTEA work on a single 64-bit block, while XXTEA (Corrected Block TEA) operates on a whole message of variable length at once. This tool implements XXTEA.
How long can the key be?
The cipher uses a 128-bit key. Only the first 16 bytes of your passphrase are used, and a shorter passphrase is padded with zeros.
Why is the output Base64?
XXTEA produces raw bytes that are not printable, so the result is Base64 encoded for safe display and copying. Paste that same Base64 back to decrypt.
Should I use it for sensitive data?
XXTEA has known cryptanalytic weaknesses and no built-in authentication. Prefer AES-GCM or ChaCha20-Poly1305 for real protection, and treat this as a utility for legacy formats and learning.
Does my data leave the browser?
No. Encryption and decryption happen locally in your browser, and nothing is sent to a server.