ShiftLock is a robust, cross-platform Caesar cipher CLI tool supporting multiple character sets and advanced error handling. It works on both Windows and Linux.
- Cross-platform: Linux and Windows support
- Five character sets: basic, extended, alphanumeric, keyboard, unicode
- Correct Caesar cipher logic (A-Z and a-z shifted separately in basic mode)
- Unicode support
- Robust error handling and input validation
- Comprehensive test script
- NEW: Graphical User Interface (GUI)
./install.sh
No installation required. Run with Python:
python src/Shiftlock.py [operation] [options]
python src/ShiftlockGUI.py
The GUI provides:
- Easy-to-use interface with radio buttons and dropdowns
- Text input area for direct text entry
- File browser for file input
- Real-time output display
- Save to file option
- All character sets and operations available
python src/Shiftlock.py encrypt -t "Secret Message" -s 7
python src/Shiftlock.py decrypt -f encrypted.txt -s 7 -o decrypted.txt
python src/Shiftlock.py bruteforce -f ciphertext.txt
-t
,--text
TEXT: Input text-f
,--file
FILE: Input file-s
,--shift
N: Shift value (default: 3, range: -25 to 25)--charset
SET: Character set (basic, extended, alphanumeric, keyboard, unicode)-o
,--output
FILE: Output file-v
,--version
: Show version-h
,--help
: Show help message
Run the test script:
bash tests/test_shiftlock.sh
MIT