Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Caesar Cipher

A simple command-line Caesar Cipher tool built in Python, as part of my hands-on practice while learning to code.

What it does

Shifts each letter in a message forward or backward through the alphabet by a chosen number of positions, encrypting or decrypting the text. Non-letter characters (spaces, numbers, punctuation) stay unchanged.

What I practiced

  • Loops and string iteration
  • Modular arithmetic (wrapping letters around the alphabet)
  • Handling uppercase and lowercase letters separately
  • Basic input/output and simple CLI interaction
  • Writing small, reusable functions

How to run

python caesar_cipher.py

You'll be asked to enter a message, a shift value, and whether to encrypt or decrypt.

Example

About

A simple Caesar Cipher encoder/decoder built in Python to practice loops, string manipulation, and modular arithmetic.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages