Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 800 Bytes

File metadata and controls

39 lines (27 loc) · 800 Bytes

🔐 _Encryption__Decryption_project_cs

Caesar Cipher Encryption & Decryption System

A Python-based implementation of the classical Caesar Cipher algorithm that allows users to encrypt and decrypt messages using a custom shift value.

🚀 Features

  • Encrypt text messages
  • Decrypt encrypted messages
  • Supports uppercase & lowercase letters
  • Preserves spaces and special characters
  • Input validation for shift value

🧠 Algorithm Used Caesar Cipher (Substitution Cipher)

Encryption Formula: C = (P + K) mod 26

Decryption Formula: P = (C - K) mod 26

Where: P = Plaintext
C = Ciphertext
K = Shift value

🛠 Technologies Used

  • Python 3
  • VS Code
  • Git & GitHub

▶️ How to Run

python _Encryption__Decryption_project_cs.py