Skip to content

abhinav4367/Caesar-Cipher-Program-using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Caesar-Cipher-Program-using-Python

The Caesar cipher is a simple and widely known encryption technique. It works by shifting each letter in the plaintext by a fixed number of positions down or up the alphabet.

This Python program allows you to encrypt and decrypt messages using the Caesar cipher with a specified key.

Features

  • Encryption: Transform plain text into a Caesar cipher with a specified key.
  • Decryption: Reverse the Caesar cipher to reveal the original plain text.
  • Shifts: Choose any integer value from 1 to 26 for shifting the characters.

Usage

  1. Run the program: python caesar_cipher.py

  2. Select 'e' for encryption or 'd' for decryption.

  3. Enter the shift key (1-26).

  4. Input the text you want to process.

  5. The program will display the encrypted or decrypted text.

Example

Encryption

  • Input: e
  • Shift Key: 3
  • Text: hello, world!
  • Output: khoor, zruog!

Decryption

  • Input: d
  • Shift Key: 3
  • Text: khoor, zruog!
  • Output: hello, world!

Author

License

This project is open source and available under the MIT License.


Enjoy your exploration of the Caesar cipher! Feel free to contribute or provide feedback.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages