Skip to content

About

A beginner-level Python training assignment implementing Caesar Cipher encryption and decryption using character shifting.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Caesar Cipher Encryption 🔐

A beginner-level Python training assignment that implements the Caesar Cipher technique for basic text encryption and decryption.

📌 Overview

The Caesar Cipher is a classical substitution cipher in which each alphabetic character is shifted by a fixed number of positions in the alphabet.

This program allows users to:

  • Encrypt a message using a shift value.
  • Decrypt an encrypted message.
  • Preserve uppercase and lowercase letters.
  • Keep spaces, numbers and special characters unchanged.

⚙️ Technologies Used

  • Python 3

📂 Project Structure

Caesar-Cipher-Encryption/
│
├── caesar_cipher.py
└── README.md

🚀 Getting Started

Prerequisites

  • Python 3 installed on your system.

Run the Program

  1. Clone the repository:
git clone https://github.com/manideepbattu/Caesar-Cipher-Encryption.git
  1. Open the project folder:
cd Caesar-Cipher-Encryption
  1. Run the Python file:
python caesar_cipher.py

💻 Example

Encryption

Enter your message: HELLO
Enter the shift value: 3
Choose operation (encrypt/decrypt): encrypt
Result: KHOOR

Decryption

Enter your message: KHOOR
Enter the shift value: 3
Choose operation (encrypt/decrypt): decrypt
Result: HELLO

⚠️ Limitations

  • Caesar Cipher is a basic educational encryption technique.
  • It is vulnerable to brute-force and frequency analysis attacks.
  • It should not be used to protect real-world sensitive information.
  • The program does not currently validate all user inputs.

🎯 Learning Outcomes

  • Understanding basic encryption and decryption.
  • Working with Python strings and loops.
  • Using ASCII values and modular arithmetic.
  • Understanding a classical substitution cipher.

👨‍💻 Author

Battu Manideep

GitHub: manideepbattu


This repository contains a beginner-level training assignment completed as part of cybersecurity learning.

About

A beginner-level Python training assignment implementing Caesar Cipher encryption and decryption using character shifting.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages