How miraelsink/caesar_cipher works
Caesar Crypto is a pair of standalone Tkinter desktop applications: users enter text and an integer shift, activate the encrypt or decrypt button, and see the transformed text in the result field. Each application owns its interface, character-shift logic, and button callback; the cipher operates on printable ASCII characters and leaves other characters unchanged. The two scripts are separate entry points, not stages in a shared pipeline. The README also documents executable builds, which are delivery tooling rather than runtime product components. Edges reflect only relationships visible in the excerpts.
Main entry points: crypto.py Encrypt callback · decrypto.py Decrypt callback
Components 15
Cipher apps
- Encrypt app
crypto.py - Decrypt app
decrypto.py
Desktop interface
- Encrypt UI
crypto.py - Text and key fields
crypto.py - Encrypt button
crypto.py - Encrypted result
crypto.py - Decrypt UI
decrypto.py - Text and key fields
decrypto.py - Decrypt button
decrypto.py - Decrypted result
decrypto.py
Cipher processing
- Encrypt callback
crypto.py - Forward shift
crypto.py - Decrypt callback
decrypto.py - Reverse shift
decrypto.py
Other components
- User
Connections 14
- User → Text and key fields: enters text and key
crypto.py - User → Encrypt button: activates
crypto.py - Encrypt app → Encrypt UI: creates
crypto.py - Encrypt button → Encrypt callback: invokes
crypto.py - Encrypt callback → Text and key fields: reads
crypto.py - Encrypt callback → Forward shift: applies per character
crypto.py - Encrypt callback → Encrypted result: writes
crypto.py - User → Text and key fields: enters text and key
decrypto.py - User → Decrypt button: activates
decrypto.py - Decrypt app → Decrypt UI: creates
decrypto.py - Decrypt button → Decrypt callback: invokes
decrypto.py - Decrypt callback → Text and key fields: reads
decrypto.py - Decrypt callback → Reverse shift: applies per character
decrypto.py - Decrypt callback → Decrypted result: writes
decrypto.py