How nathan-samms/cipher works
This small Python repository contains standalone classical-cipher operations, a Caesar frequency-analysis tool, and an AES S-box/transform prototype. There is no README or documented user workflow. The analysis module imports the classical-cipher module, while the AES code is separate; the excerpts do not establish a broader encryption pipeline. The AES implementation shown is partial, and source inspection is limited to the supplied excerpts.
Main entry points: analysisTools.py Frequency Scoring · AES.py AES Transforms · classicCiphers.py Classical Cipher API
Components 6
Classical Ciphers
- Classical Cipher API
classicCiphers.py
Cipher Analysis
- Frequency Scoring
analysisTools.py - Caesar Analysis
analysisTools.py
AES Prototype
- S-Box Setup
AES.py - AES Transforms
AES.py
Other components
- Caller
Connections 6
- Caller → Classical Cipher API: encodes or decodes
classicCiphers.py - Caller → Caesar Analysis: requests analysis
analysisTools.py - Caesar Analysis → Frequency Scoring: scores text
analysisTools.py - Frequency Scoring → Classical Cipher API: gets alphabet
analysisTools.py - Caller → AES Transforms: runs prototype
AES.py - AES Transforms → S-Box Setup: uses substitution table
AES.py