Skip to content

Hun33er/PRODIGY_WD_01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Caesar Cipher Program

Welcome to the Caesar Cipher Program! This Python program allows users to encrypt and decrypt text using the Caesar Cipher algorithm. It is developed as a task for the Prodigy Info Tech Internship.

Table of Contents

Description

The Caesar Cipher is a type of substitution cipher in which each letter in the plaintext is shifted a certain number of places down or up the alphabet. This program provides a simple way to encrypt and decrypt messages using a user-defined shift value.

Features

  • Encrypts messages using the Caesar Cipher algorithm.
  • Decrypts messages that were encrypted using the Caesar Cipher algorithm.
  • Handles both uppercase and lowercase letters.
  • Ignores non-alphabetic characters, leaving them unchanged.

Requirements

  • Python 3.x

Installation

  1. Clone the repository:
git clone https://github.com/Hun33er/PRODIGY_WD_01/caesar-cipher-program.git
  1. Navigate to the project directory:
cd caesar-cipher-program

Usage

Run the program using Python:

python caesar_cipher.py

Follow the prompts to encrypt or decrypt a message:

  1. Type encrypt to encrypt a message or decrypt to decrypt a message.
  2. Enter the message you want to process.
  3. Enter the shift value (an integer).

The program will display the resulting encrypted or decrypted message.

Example

Welcome to the Caesar Cipher Program!
Type 'encrypt' to encrypt or 'decrypt' to decrypt: encrypt
Enter your message: Hello, World!
Enter the shift number: 3
The resulting text is: Khoor, Zruog!

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to create a pull request or open an issue.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Developed by [Hun33er] as part of the Prodigy Info Tech Internship.


Feel free to customize the README with your personal information, repository URL, and any additional details you find relevant.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages