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.shNo installation required. Run with Python:
python src/Shiftlock.py [operation] [options]python src/ShiftlockGUI.pyThe 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 7python src/Shiftlock.py decrypt -f encrypted.txt -s 7 -o decrypted.txtpython src/Shiftlock.py bruteforce -f ciphertext.txt-t,--textTEXT: Input text-f,--fileFILE: Input file-s,--shiftN: Shift value (default: 3, range: -25 to 25)--charsetSET: Character set (basic, extended, alphanumeric, keyboard, unicode)-o,--outputFILE: Output file-v,--version: Show version-h,--help: Show help message
Run the test script:
bash tests/test_shiftlock.shMIT