Skip to main content

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

  1. It slices the alphabet from the index of shift then add the sliced part to the start of the alphabet.
  2. 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:

  1. Input from keyboard: Good for inputting short texts and quickly Encipher/Decipher them.
  2. 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

  1. Install Python 3.x from here. (Ignore if you already have Python 3.x installed)
  2. Open terminal, run:
    pip install julius_cipher
    

Usage

  1. Open terminal, run:
    caesar
    
  2. Alternatively, in a Python file (*.py), you can do:
    from julius_cipher import main
    main()
    

    To use the program.

  3. Similarly, you can do:
    from julius_cipher.main import Caesar
    

    To 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)

  1. Python 3.x

Note(s)

  1. 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

julius_cipher-3.7.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

julius_cipher-3.7-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

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

Hashes for julius_cipher-3.7.tar.gz
Algorithm Hash digest
SHA256 1213b7b55a129162dc5a065e498ffb56a34c9a3c133be1fd30010ade19c417a4
MD5 454f919e0f7936df9c2e251b613f22d4
BLAKE2b-256 961dc6c0ed0c887f562d04a77b79752ee0df99132f906984f2909ec70fa7dfd1

See more details on using hashes here.

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

Hashes for julius_cipher-3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f55a76b19eb03d900a7692b35ca4dab02e50a72d74d59d071884ca67c2bfe8be
MD5 11809efe5d5969f258e737443c73a97b
BLAKE2b-256 2c533a29d03cee599e27673c6c534c29e0f31513fcb02d2ada282fd7c98e548f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page