Commit Graph
7 Commits
Author SHA1 Message Date
Tirsvad 9d8beb3aef Refactor to unified caesar() function with encode/decode support
- Replace separate encrypt/decrypt with shared caesar() function
- Add direction constants (DIRECTION_ENCODE, DIRECTION_DECODE) and
  prompts
- Update main.py to support interactive encode/decode loop
- Keep encrypt/decrypt as wrappers for backward compatibility
- Add tests for caesar() with both directions and error handling
- Update tests for main.py with interactive scenario tests
2026-10-04 13:23:47 +08:00
Tirsvad d4b3e6ab19 Merge pull request 'Part 2: Decryption' (#2) from part-2-decryption into main
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 6s
Reviewed-on: #2
2026-10-04 07:20:21 +02:00
Tirsvad 621f5f7272 Add decrypt function to Caesar cipher
- 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
2026-10-04 13:18:33 +08:00
Tirsvad cdbf6396ab Merge pull request 'Add Caesar cipher project with Doxygen docs' (#1) from part-1-encryption into main
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 5s
Reviewed-on: #1
2026-10-04 07:12:06 +02:00
Tirsvad 0957bff43a Add Caesar cipher project with Doxygen docs 2026-10-04 13:11:15 +08:00
Tirsvad 99cccdf3da Add plan
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 6s
2026-10-04 13:05:54 +08:00
Tirsvad 6094949d9a Initial commit 2026-10-04 06:54:44 +02:00