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.6.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.6-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file julius_cipher-3.6.tar.gz.

File metadata

  • Download URL: julius_cipher-3.6.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.6.tar.gz
Algorithm Hash digest
SHA256 c25e3674059ff36fe87d6434033cccbeaf763c891dbcc50891d2c4d00142a3f6
MD5 319f4b46a572709f4123d2214b33c6ae
BLAKE2b-256 1292d4eacbc6b2b43683e44789e5fb2d76bba9e62b12f4ff941368825ebed8d5

See more details on using hashes here.

File details

Details for the file julius_cipher-3.6-py3-none-any.whl.

File metadata

  • Download URL: julius_cipher-3.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8add4c88ed05272326feaaea6750fc2e8d5a1ad1c2dde9b7b11203ccc61dc2e5
MD5 57df854f5289414853d94c95df20d66f
BLAKE2b-256 755096283b95ef424031ab6d282b73d2fb9f3d251d4a2c253ed7890540d534f1

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