A simple command line program use to encipher/decipher text to/from Caesar Cipher.
Project description
Julius Cipher - Python Edition
A simple program use to Encipher/Decipher text to/from Caesar Cipher. And yes, there are more versions of this program from other programming languages.
How this thing works
- It slices the alphabet from the index of shift then add the sliced part to the start of the alphabet.
- Find the index of every character in user input in the alphabet and append the character with the same index into the output. Add the character into the output if it doesn't exist in the alphabet.
Functionalities
Encipher/Decipher text to/from Caesar Cipher. This have 2 modes:
- Input from keyboard: Good for inputting short texts and quickly Encipher/Decipher them.
- Input from file: Good for processing a large amount of text, result will be put into another file. You can input the file name you desire, or leave blank to use the default name (output.txt). You have to specify the directory for the output file in case you select this mode.
Installation
- Install Python 3.x from here. (Ignore if you already have Python 3.x installed)
-
Open terminal, run:
pip install julius_cipher
Usage
-
Open terminal, run:
caesar -
Alternatively, in a Python file (*.py), you can do:
from julius_cipher import main main()To use the program.
-
Similarly, you can do:
from julius_cipher.main import CaesarTo use the ciphering function. (Syntax: Caesar({user_input}, {shift}) with user_input = user input, shift = shift, enter minus shift in order to decipher texts to use the ciphering function.)
Requirement(s)
- Python 3.x
Note(s)
- While the input from file mode support pretty much any file type, anything other than plain text files (*.txt,...) could cause the program to freeze up (e.g *.exe,...) so avoid inputting those.
License
This project is licensed under the GNU General Public License 3.0, check LICENSE for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file julius_cipher-3.7.tar.gz.
File metadata
- Download URL: julius_cipher-3.7.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1213b7b55a129162dc5a065e498ffb56a34c9a3c133be1fd30010ade19c417a4
|
|
| MD5 |
454f919e0f7936df9c2e251b613f22d4
|
|
| BLAKE2b-256 |
961dc6c0ed0c887f562d04a77b79752ee0df99132f906984f2909ec70fa7dfd1
|
File details
Details for the file julius_cipher-3.7-py3-none-any.whl.
File metadata
- Download URL: julius_cipher-3.7-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f55a76b19eb03d900a7692b35ca4dab02e50a72d74d59d071884ca67c2bfe8be
|
|
| MD5 |
11809efe5d5969f258e737443c73a97b
|
|
| BLAKE2b-256 |
2c533a29d03cee599e27673c6c534c29e0f31513fcb02d2ada282fd7c98e548f
|