Skip to content

HarshitPal25/Caesar-Cipher-encryption-and-decryption-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Caesar Cipher CLI Tool

A simple Python command-line tool to encrypt and decrypt messages using the Caesar Cipher algorithm.


πŸ“– About

The Caesar Cipher is one of the oldest and simplest encryption techniques.
It works by shifting each letter in the message by a fixed number of positions in the alphabet.

  • Supports both encryption and decryption
  • Preserves uppercase and lowercase letters
  • Keeps numbers, spaces, and symbols unchanged

πŸš€ Features

  • Encrypt any text with a custom shift value
  • Decrypt messages with the same shift value
  • Interactive CLI menu for easy usage

πŸ–₯️ Usage

1. Clone the repository

git clone https://github.com/HarshitPal25/Caesar-Cipher-encryption-and-decryption-tool.git
cd caesar-cipher-cli
python caesar_cipher.py

=== Caesar Cipher CLI Tool ===

Choose an option:

  1. Encrypt a message
  2. Decrypt a message
  3. Exit Enter choice (1/2/3): 1

Enter message to encrypt: Hello World Enter shift value: 3

πŸ”’ Encrypted message: Khoor Zruog

Choose an option:

  1. Encrypt a message
  2. Decrypt a message
  3. Exit Enter choice (1/2/3): 2

Enter message to decrypt: Khoor Zruog Enter shift value: 3

πŸ”“ Decrypted message: Hello World

About

it is a caesar cipher encryption and decryption tool made using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages