A fast, robust command-line tool for encrypting and decrypting text and binary files using a customizable Caesar cipher.
Option 1: Pre-compiled Binaries (Recommended)
- Go to the Releases page.
- Download the executable for your operating system (Windows, macOS, or Linux).
- Place the executable in a directory that is in your system's
PATH.
Option 2: Using Cargo (Rust Developers) If you have the Rust toolchain installed, you can build and install directly from source:
cargo install --path .The CLI requires an input file, a mode (encrypt or decrypt), and optionally a file type (text or binary), a shift key, or a password.
Encrypt a text file:
caesar input.txt -m encrypt -t text -s 5Encrypt a binary file with a password:
caesar image.png -m encrypt -t binary -k "my_secret_password"Decrypt a file:
caesar output/encrypted/input.txt -m decrypt -k "my_secret_password"Use caesar --help to see all available options.
If you installed via Cargo, run:
cargo uninstall caesar