How clippywashere/clip-togra-py works
Clip-togra-py is an interactive CLI multitool for encrypting and decrypting classical ciphers, plus heuristic frequency analysis and matching. Users select an operation and cipher in the main menu, then the selected routine prompts for text and any keys or alphabet settings and prints its result. The cipher modules cover substitution, transposition, mixed, and other methods; Columnar Transposition currently has encryption only. Shared constructors and validators support several Polybius-based and alphabet-based ciphers. The graph follows documented menu dispatch and excerpted helper calls; unsampled implementations are included as capabilities, without inferred internal links.
Main entry points: cryptography_main.py Operation menu · constructors_and_validators.py Alphabet and validators · s_affine.py Affine cipher · s_nihilist.py Nihilist cipher
Components 13
CLI dispatch
- Operation menu
cryptography_main.py
Cipher routines
- Affine cipher
s_affine.py - Book cipher
s_book.py - Morse cipher
s_morse.py - Nihilist cipher
s_nihilist.py - Playfair cipher
s_playfair.py - Tapcode cipher
s_tapcode.py - Columnar transposition
t_columnar.py - Bifid cipher
m_bifid.py - Pseudomorse cipher
o_pseudomorse.py
Tools and shared logic
- Frequency tools
l_frequency.py - Alphabet and validators
constructors_and_validators.py
Other components
- CLI user
Connections 16
- CLI user → Operation menu: selects operation
README.md - Operation menu → Morse cipher: dispatches
cryptography_main.py - Operation menu → Affine cipher: dispatches
cryptography_main.py - Operation menu → Tapcode cipher: dispatches
cryptography_main.py - Operation menu → Playfair cipher: dispatches
cryptography_main.py - Operation menu → Book cipher: dispatches
cryptography_main.py - Operation menu → Nihilist cipher: dispatches
cryptography_main.py - Operation menu → Columnar transposition: dispatches
cryptography_main.py - Operation menu → Bifid cipher: dispatches
cryptography_main.py - Operation menu → Pseudomorse cipher: dispatches
cryptography_main.py - Operation menu → Frequency tools: dispatches
cryptography_main.py - Affine cipher → Alphabet and validators: uses alphabet and validation
s_affine.py - Nihilist cipher → Alphabet and validators: uses Polybius helpers
s_nihilist.py - Playfair cipher → Alphabet and validators: uses Polybius helpers
s_playfair.py - Tapcode cipher → Alphabet and validators: uses Polybius helpers
s_tapcode.py - Bifid cipher → Alphabet and validators: uses Polybius helpers
m_bifid.py