Skip to content

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.

License

Notifications You must be signed in to change notification settings

overlordvishal97/Caesar-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages