Ceasar Toolkit
Ceasar Cipher Toolkit is a free, open-source CLI framework for encoding and decoding files using the classic Ceasar cipher. It also includes powerful tools to encrypt PDFs and folders — without compressing or modifying original file contents.
No command-line arguments required — just run and go. The interactive menu handles everything.
Features
- Interactive menu-driven interface
- Ceasar cipher encode/decode with header-based shift tracking
- PDF file encryption and decryption with password
- Folder encryption using
encfs(no zipping or renaming) - Animated loading spinners for all actions
- Colorized success/error messages with
colorama
Example Use
python main.py
Then choose one of the options:
1. Ceasar Encode Text
2. Ceasar Decode Text
3. Encrypt PDF
4. Decrypt PDF
5. Encrypt Folder (EncFS)
6. Mount Encrypted Folder
7. Exit
Ceasar Cipher Usage
- Encodes any text file with a shift you provide
- Stores
Shift:Nat the top of the file for auto-decoding
Example
- Input:
document.txt - Output:
document_enc.txt
Then decode → output: document_dec.txt
PDF Protection
- Encrypts PDFs with a password using
PyPDF2 - Decrypts PDFs with the correct password
Example
- Input:
contract.pdf - Output:
contract_enc.pdf - Then decrypt →
contract_dec.pdf
Folder Encryption (EncFS)
- Encrypts folders without changing contents
- Does NOT zip, rename, or modify files
- Uses
encfsfor true on-demand file encryption
Encrypt
- Input:
project/ - Output:
project_encrypted/
Decrypt
- Input:
project_encrypted/ - Output:
project_decrypted/(automatically extracted)
Requirements
Python Modules
pip install PyPDF2 colorama
System Tools
sudo apt update
sudo apt install encfs
Installation
1. Simply install using the python pip package but first make sure you use Virtual Environment and source the activate:
python -v venv venv
# Bash / Zsh
source venv/bin/activate
# Fish shell
source venv/bin/activate.fish
# C shell (csh / tcsh)
source venv/bin/activate.csh
Install Ceasar-toolkit
pip install ceasar-toolkit
Then simply call ceasar in your commands.
2. Clone the project and run:
git clone https://github.com/parsabe/Ceasar-cipher-toolkit.git
cd Ceasar-cipher-toolkit
python main.py
License
Released under the MIT License.