Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

CryXR - Double-Layer Encryption

Version Platform License Security

"Two locks are better than one."

CryXR is a robust, lightweight Bash-based security suite designed for Linux. Unlike standard tools that rely on a single algorithm, CryXR utilizes a "Russian Doll" cascade encryption method. It secures your data by piping it through AES-256-CBC and immediately sealing the output inside Camellia-256-CBC without ever writing intermediate data to the disk.

It also features a Secure Self-Destruct mechanism to obliterate sensitive files beyond forensic recovery.


⚡ Features

  • 🛡️ Cascade Encryption: Uses two distinct algorithms (AES & Camellia) sequentially. Even if a vulnerability is found in one, the second layer protects your data.
  • 🚀 Self-Installing: The script detects its environment and handles its own installation to /usr/local/bin automatically.
  • 💥 Secure Shredding: Includes a military-grade deletion tool that overwrites files 3 times with random data and zeros before unlinking them.
  • ⏱️ Precision Metrics: Displays encryption and decryption processing time in milliseconds.
  • 📊 Visual Feedback: Automatically detects pv (Pipe Viewer) to display progress bars for large files, with a fallback spinner for minimal environments.
  • 🔒 PBKDF2 Security: Uses 100,000 iterations of salt hashing to prevent brute-force rainbow table attacks.

📥 Installation

CryXR is a single-file utility. You do not need to compile anything.

1. Clone & Install

Download the repository and run the script with sudo to trigger the auto-installer. you can use it without , but it will not install globally.

# 1. Clone the repository
git clone https://github.com/fiozxr/CryXR.git

# 2. Enter the directory
cd CryXR

# 3. Trigger the Auto-Installer
sudo ./cryxr.sh

That's it! The script will detect that it is being run as root without arguments and automatically install itself to your system path. You can now delete the downloaded folder.

📖 Usage

Once installed, you can call cryxr from any terminal window, anywhere in your system.

  1. Interactive Menu Simply type the command without arguments to open the GUI-like menu.
cryxr
  1. Command Line Interface (CLI) For power users and scripts, use the flags below:
Flag Long Flag Description
-e --encrypt Encrypt a file (AES -> Camellia).
-d --decrypt Decrypt a CryXR locked file.
-s --shred Irreversibly destroy a file.
-h --help Show the help menu.
-u --update Update the global installation using the current file.

Examples: Encrypt a confidential PDF: cryxr -e project_omega.pdf

Output: project_omega.pdf.locked Decrypt a file: cryxr -d project_omega.pdf.locked

Output: project_omega.pdf (Restored) Nuke a file (Secure Delete): cryxr -s old_passwords.txt

⚠️ Warning: This overwrites the file 3 times with random bits. It cannot be recovered.

⚙️ Technical Architecture

CryXR relies on OpenSSL pipelines to ensure maximum security. The Encryption Flow: Instead of creating temporary files (which can be recovered), CryXR pipes standard output: [Raw Data] ➔ AES-256-CBC ➔ [Stream] ➔ Camellia-256-CBC ➔ [Disk] Dependencies:

  • openssl (Required)
  • shred (Recommended for secure delete, usually pre-installed)
  • pv (Optional, for progress bars: sudo apt install pv)

👨‍💻 Author

FIOZXR

  • GitHub: @fiozxr
  • Instagram: @fiozxr_

⚠️ Disclaimer

Use with caution. CryXR provides military-grade encryption. If you lose your password, there is no backdoor. The data will be lost forever. The author (fiozxr) is not responsible for data loss due to forgotten passwords or misuse of the shredding function.

About

CryXR a multi layered encryption and decryption tool.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages