Skip to content

Files

Latest commit

4f0e1cc · Jan 7, 2025

History

History

03. Caesar Cipher

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 7, 2025
Sep 23, 2024
Sep 23, 2024
Jan 7, 2025

Caesar Cipher

Overview

This project implements the Caesar Cipher, a simple encryption technique used in cryptography. Users can encrypt and decrypt messages by shifting the letters of the alphabet.

Features

  • Encrypt and decrypt messages using a specified shift value.
  • Handles letters not in the alphabet without modification.
  • User-friendly console interface for input and output.
  • Option to play again after each encryption/decryption attempt.

How to Play

  1. Run the script.
  2. Choose whether to encode (encrypt) or decode (decrypt) a message.
  3. Enter the message you want to encrypt or decrypt.
  4. Specify the shift amount (number of positions each letter will be moved).
  5. View the result of the encryption or decryption.
  6. Choose to play again or exit.

Example

Caesar Cipher