This Python program provides functionality to encrypt/decrypt ciphers from .txt files or manually-typed input using the bruteforce method or a given key. Currently, it supports the Caesar cipher, the Vigenere cipher, the Rail Fence cipher (no offset), along with both-ways ASCII-Decimal, ASCII-Hexadecimal, ASCII-Binary, and ASCII-Octal conversions.
- Python 3.x
- Visit the official Python website: Python Downloads
- Click on the "Downloads" tab.
- Choose the appropriate Python version for your operating system:
- For Windows: Download the Windows installer (usually a .exe file).
- For macOS: Download the macOS installer (usually a .dmg file).
- For Linux: Python is often pre-installed on many distributions, but you can also use your package manager to install it.
- Run the installer and follow the on-screen instructions to complete the installation process.
- Once Python is installed, you can verify the installation by opening a command prompt (Windows) or terminal (macOS/Linux) and typing:
This command should display the installed Python version.
python3 --version
- Open a command prompt (Windows) or terminal (macOS/Linux).
- Navigate to the directory containing the
cipher.py
file. - Run the program by typing:
python3 cipher.py
- Follow the on-screen instructions to decrypt or encrypt a message.
Enjoy encoding and decoding.