XXTEA Encryption & Decryption
Encrypt or decrypt text and files for compatibility with xxtea-node.
How to use
Choose Hex or Base64 for ciphertext. For decrypted data, use UTF-8 for text and choose Download to recover a binary file.
FAQ
Can I test an xxtea-node ciphertext without uploading it?
Paste the encoded ciphertext or select its binary file. The browser runs the XXTEA operation locally with your 16-byte key.
What is supported?
Enter a 16-byte Hex key. Choose UTF-8, Hex or Base64 for pasted input or select a file up to 8 MiB. Download saves the raw output bytes.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Round-trip Unicode and binary ciphertext through the actual XXTEA operation; reject a wrong key length.
- Comparison reference
- xxtea-node 1.1.5 same-library round trip only; not independent verification.
- Verification scope
- Covers one Unicode round trip and rejection of a wrong key length. The same library encrypts and decrypts.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- xxtea-cipher: binary unicode round trip and key bounds
- Secret fields start empty and fixed vectors are confined to the explicit example action
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.