Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 896 Bytes

File metadata and controls

23 lines (16 loc) · 896 Bytes

Caesar-cipher

This repository contains a simple Caesar cipher program written in Python. The Caesar cipher is a type of substitution cipher in which each letter in the plaintext is shifted a certain number of places down the alphabet.

Features

  • Encrypts and decrypts text using a specified shift value.
  • Handles shifts greater than 26 by using modulo arithmetic.
  • Retains numbers, symbols, and spaces in the input text.
  • Allows users to restart the program to encrypt/decrypt multiple messages.

How to Run the Program

To run this program, you need Python installed on your computer.

Steps to Run the Program:

  1. Clone this repository to your local machine.
  2. Navigate to the cloned directory.
  3. Ensure you have the art.py file in the same directory with a logo variable containing your ASCII art logo.
  4. Run the program using Python:
python caesar_cipher.py