Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 993 Bytes

File metadata and controls

23 lines (19 loc) · 993 Bytes

Caesar Cipher CLI

Caesar Cipher in the command-line made in Python. Not for real-world use.

Originally made for my high school's computer science class homework assignment, but expanded upon to include extra features for fun.

Features

  • Classic caesar cipher encryption gameplay
  • Customisable encryption key
  • Linear substitution encryption
  • Works for both capital and lowercase letters and numbers (alphanumeric)
  • Cycles back if out of bounds (i.e.: 0 - 1 -> 9, 9 + 1 -> 0, A - 1 -> Z, Z + 1 -> A, a - 1 -> z, z + 1 -> a) (Does not work for symbols and other special characters)
  • Symmetric decryption by inputting the negative value of encryption key integer into the same function

Usage

Local

  • Install Python 3 and download main.py. Then run main.py:
python main.py

Online