A simple and flexible XOR-based encryption and decryption tool for text and files. Supports keys in string or hexadecimal format, ideal for basic data obfuscation needs.
✅ Encrypt and decrypt text and files.
✅ Supports keys in string or hexadecimal format.
✅ Compatible with multiple operating systems (Windows, Linux, macOS, Android).
Ensure Python 3.13.1 or a newer version is installed on your system:
- Windows: Download from python.org.
- Linux/macOS: Use your system's package manager like
apt,yum, orbrew.
Clone the repository from GitHub to your local directory:
git clone https://github.com/oujisan/eXOR.git
cd eXOR- Press
Win + R, typesysdm.cpl, and press Enter. - Select Advanced → click Environment Variables.
- Add the eXOR directory path to Path. Example:
C:\Users\oujisan\eXOR
Run the installation script:
chmod +x install.sh
./install.shEnsure eXOR is installed correctly by running:
exor --help💡 If you encounter errors or want to run it manually, use:
python exor.pyexor [OPTION] <"text" | file> [OPTION KEY] <key> [-o | --output (for files)]| Option | Description |
|---|---|
-h, --help |
Display help message and exit. |
-e, --encrypt |
Encrypt text. Example: -e "HelloWorld". |
-d, --decrypt |
Decrypt text. Example: -d "EncryptedText". |
-ef, --encryptfile |
Encrypt a file. Example: -ef file.png. |
-df, --decryptfile |
Decrypt a file. Example: -df file.enc. |
| Option | Description |
|---|---|
-k, --key |
Key in plain text format. Example: -k "mykey". |
-kh, --keyhex |
Key in hexadecimal format. Example: -kh 6d7978. |
| Option | Description |
|---|---|
-o, --output |
Specify the output file. |
exor -e "HelloWorld" -k "ohayo"exor -d 271006051c36011d190e -kh 6f756a6973616eexor -ef image.png -k "oujisan" -o secret.encexor -df secret.enc -k "oujisan" -o image.png- Python 3.13.1 or newer.
📅 Created Date: Sunday, March 02, 2025
🎉 Enjoy using eXOR! If you encounter any issues or have questions, feel free to open an issue on our GitHub repository. 🚀