Skip to content

This Program uses a Caesar cipher to encrypt and decrypt messages. Users choose encoding or decoding, and specify a shift. It includes an ASCII art logo and an interactive loop.

Notifications You must be signed in to change notification settings

B3TA-BLOCKER/Caesar-Cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

🌐 Caesar Cipher Encryption and Decryption Tool 🛠️

A Python-based Caesar cipher encryption and decryption tool that allows users to encode and decode messages using the classic Caesar cipher algorithm.

Features 🚀

  • Encryption: Transform plain text messages into encoded messages by shifting letters in the alphabet.
  • Decryption: Decode encoded messages back to the original text using the reverse shift.
  • User-Friendly Interface: Interactive prompts guide users to input the cipher direction, message, and shift amount.
  • Alphabetic Wrapping: Handles shifts that wrap around the alphabet, ensuring accurate encryption and decryption.
  • Non-Alphabetic Character Preservation: Preserves spaces and special characters in the output, maintaining message integrity.

Usage 📋

  1. Run the Python script in your terminal or IDE.
  2. Choose 'encode' to encrypt a message or 'decode' to decrypt a message.
  3. Enter the message you want to encrypt or decrypt.
  4. Input the shift amount (a positive integer) to determine the encryption/decryption key.
  5. The program will display the encoded or decoded message.

Example 🌟

Type 'encode' to encrypt, Type 'decode' to decrypt:
encode

Type your Message: hello world

Type the shift number: 3

The Encoded text is khoor zruog

About

This Program uses a Caesar cipher to encrypt and decrypt messages. Users choose encoding or decoding, and specify a shift. It includes an ASCII art logo and an interactive loop.

Topics

Resources

Stars

Watchers

Forks

Languages