2026-06-06 14:15:05 +02:00
2026-06-06 14:15:05 +02:00
2026-06-06 14:15:05 +02:00

Assignment 2 - Caesar Cipher

This is my code for the OOP homework. I chose the Caesar Cipher Helper.

How it works:

  • The CaesarCipher class takes a shift number.
  • encode changes text to uppercase and moves letters forward. It uses % 26 so letters stay in the A-Z alphabet.
  • decode moves letters backward to fix the text.
  • Spaces and punctuation do not change.

Tools:

I set up black and ruff with pre-commit hooks. They check and fix my code format before every commit.

Description
No description provided
Readme 29 KiB
Languages
Python 100%