XXTEA Encryption Tool

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

Input: Text (UTF-8) or original file bytesResult: Binary bytes

Text input

Run to see the result

Examples

Example keys and passwords are public test material.

A newline-delimited weather reading

Input

station=demo
celsius=-12.5

Expected checks

XXTEA Decrypt recovers:
73746174696f6e3d64656d6f0a63656c736975733d2d31322e350a
Key
{"option":"UTF8","string":"1234567890"}
A small release manifest

Input

release=2.1.0
artifact=demo.tar.gz

Expected checks

XXTEA Decrypt recovers:
72656c656173653d322e312e300a61727469666163743d64656d6f2e7461722e677a0a
Key
{"option":"UTF8","string":"1234567890"}
A repeated status log

Input

ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready

Expected checks

XXTEA Decrypt recovers:
72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a
Key
{"option":"UTF8","string":"1234567890"}
An HTTP-like JSON event

Input

{"event":"deploy","project":"demo","ready":true}

Expected checks

XXTEA Decrypt recovers:
7b226576656e74223a226465706c6f79222c2270726f6a656374223a2264656d6f222c227265616479223a747275657d
Key
{"option":"UTF8","string":"1234567890"}
A comma-and-quote CSV row

Input

city,note
Paris,"rain, then sun"

Expected checks

XXTEA Decrypt recovers:
636974792c6e6f74650a50617269732c227261696e2c207468656e2073756e220a
Key
{"option":"UTF8","string":"1234567890"}
A release identifier

Input

RELEASEONE

Expected checks

XXTEA Decrypt recovers:
52454c454153454f4e45
Key
{"option":"UTF8","string":"public-demo-key"}
A sensor label

Input

SENSORWEST

Expected checks

XXTEA Decrypt recovers:
53454e534f5257455354
Key
{"option":"UTF8","string":"public-demo-key"}
A telescope target

Input

MOONPHASES

Expected checks

XXTEA Decrypt recovers:
4d4f4f4e504841534553
Key
{"option":"UTF8","string":"public-demo-key"}
A toy puzzle clue

Input

FOLLOWBIRD

Expected checks

XXTEA Decrypt recovers:
464f4c4c4f5742495244
Key
{"option":"UTF8","string":"public-demo-key"}
An archive marker

Input

ARCHIVEDOC

Expected checks

XXTEA Decrypt recovers:
41524348495645444f43
Key
{"option":"UTF8","string":"public-demo-key"}

Format reference: XXTEA Encrypt background and specification

Related tools

Browse encryption / encoding tools