RoshniSingh101 / Simple-Cipher-Encrypt-Decrypt

I coded this chat box as my first cipher to allow the user with a key between 0 to 25 (26 options) to encrypt and decrypt messages.

Home Page:https://replit.com/@Roshnigsingh/Programming-Caesars-Cipher-Roshni-Singh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programming Caesar's Cipher

Project Requirements

Your project should:

  • Share an opening message with the user that describes what the program will do.
  • Include user input for the initialMessage (only capital letters), the key, and the mode (encrypt or decrypt).
  • Include a for loop that cycles through each character in the initialMessage.
  • Include a conditional statement that allows for multiple word messages.
  • Use a conditional statement to encrypt or decrypt the initialMessage based on user input.
  • Use a conditional statement to adjust the position of any wraparound characters.
  • Share the shiftedMessage with the user.

Extensions

You can extend your project further by:

  • Add another usability feature.
  • Add a while loop to repeat the program.
  • Explore other ciphers.

Attributions

*If you used any code, ideas, or resources from another person or group of people, tell us about it here. Make sure it is in the public domain, has a license that allows you to use it, or is one of your own.

  • This code is inspired by Cracking Codes with Python: An Introduction to Building and Breaking Ciphers by Al Sweigart https://www.nostarch.com/crackingcodes (BSD Licensed)
  • Add here if applicable

File Overview

← README.md

README.md file give you more documentation and information about a program. They are super helpful for describing what a program should do, any issues you've encountered, changes you want to make, and more.

← main.py

This is where you will write your main program.

About

I coded this chat box as my first cipher to allow the user with a key between 0 to 25 (26 options) to encrypt and decrypt messages.

https://replit.com/@Roshnigsingh/Programming-Caesars-Cipher-Roshni-Singh


Languages

Language:Python 78.5%Language:Nix 21.5%