Skip to main content

Cryptography & Ciphers

XXTEA Encryption

Apply XXTEA Encrypt with explicit key, format, and algorithm settings. Enter the data and key material, choose the parameters, then review the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Apply XXTEA Encrypt with explicit key, format, and algorithm settings. Enter the data and key material, choose the parameters, then review the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

XXTEA Encryption uses XXTEA to process the supplied input. The operation returns transformed variable-length binary data for the selected direction. This record describes encryption or encoding for XXTEA Encryption.

The operation returns transformed variable-length binary data for the selected direction. This record describes encryption or encoding for XXTEA Encryption. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings. Processing runs in the browser.

XXTEA provides legacy byte transformation only; it does not provide authenticated encryption.

Instructions

  1. Provide text or data for this tool.
  2. Use the public hexadecimal byte fixture. This applies to XXTEA Encryption.
  3. Keep key bytes and input length unchanged for reversal. This applies to XXTEA Encryption.
  4. Inspect binary output as Hex rather than readable text. This applies to XXTEA Encryption.

Example

Input: Byte input "0011223344556677" with public key "000102030405060708090a0b0c0d0e0f". Operation direction: encryption or encoding; algorithm: XXTEA Encryption.

Settings: XXTEA Encryption: Input and output: ArrayBuffer or byte array as exposed by the tool. Key: the operation's selected byte encoding. Use at least 8 bytes of input for the variable-length block.

Result: The operation returns transformed variable-length binary data for the selected direction. This record describes encryption or encoding for XXTEA Encryption. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings.

Limits

  • XXTEA Encryption: XXTEA requires a compatible variable-length binary format.
  • XXTEA Encryption: It does not authenticate ciphertext or prove sender identity.
  • XXTEA Encryption: Use a modern authenticated encryption scheme for new designs.