Part 2: Decryption #2

Merged
Tirsvad merged 1 commits from part-2-decryption into main 2026-10-04 07:20:22 +02:00
Owner

Adds decrypt(text, shift) (encrypt with -shift), exports it from the package, adds tests (basic, round trip, wrap-around) and updates README/docs.

Part 2 of 3 (Part 1: #1).

Adds `decrypt(text, shift)` (encrypt with `-shift`), exports it from the package, adds tests (basic, round trip, wrap-around) and updates README/docs. Part 2 of 3 (Part 1: #1).
Tirsvad added 1 commit 2026-10-04 07:19:41 +02:00
- Implement decrypt function that reverses encryption with negative
  shift
- Export decrypt in package's public API
- Update tests with basic roundtrip and edge case tests
- Update documentation to reflect encryption/decryption support
Tirsvad merged commit d4b3e6ab19 into main 2026-10-04 07:20:22 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100_days_of_code/008-caesar_cipher#2