How goudatharun30/aegispix works
Aegispix is a Flask application for encrypting images and sharing them with authenticated recipients. Its main workflow accepts an uploaded image and secret key, encrypts the image, records sharing metadata, then lets the recipient verify the key and decrypt the image. The graph also shows account management, history, and statistics, plus the shared chaotic-parameter/S-box layer used by both crypto paths. The README documents security-analysis metrics, but the sampled source does not show their implementation, so they are not mapped as runtime components.
Main entry points: app.py Flask routes · database.db SQLite records · encryption.py Image encryption · decryption.py Image decryption
Components 18
Web application
- Flask routes
app.py - Accounts
app.py - History views
templates/history.html - Sender view
templates/sender.html - Receiver view
templates/receiver.html - Statistics view
templates/stats.html
Image sharing
- Image submission
app.py - Image retrieval
app.py - History management
app.py - Usage statistics
app.py
Image cryptography
- Image encryption
encryption.py - Image decryption
decryption.py - Key and chaos
utils.py
Persistence and files
- SQLite records
database.db - Original uploads
static/uploads - Encrypted images
static/encrypted - Decrypted images
static/decrypted
Other components
- User
Connections 23
- User → Flask routes: uses
README.md - Flask routes → Accounts: routes account actions
app.py - Flask routes → Image submission: routes upload
app.py - Flask routes → Image retrieval: routes retrieval
app.py - Flask routes → History management: routes history
app.py - Flask routes → Usage statistics: routes statistics
app.py - Image submission → Image encryption: calls
app.py - Image retrieval → Image decryption: calls
app.py - Image encryption → Key and chaos: generates parameters
encryption.py - Image decryption → Key and chaos: generates parameters
decryption.py - Image submission → SQLite records: writes sharing records
app.py - Image retrieval → SQLite records: reads sharing records
app.py - Accounts → SQLite records: reads and writes users
app.py - History management → SQLite records: queries history
app.py - Usage statistics → SQLite records: counts records
app.py - Image submission → Original uploads: saves upload
app.py - Image submission → Encrypted images: writes encrypted image
app.py - Image retrieval → Encrypted images: reads encrypted image
app.py - Image retrieval → Decrypted images: writes decrypted image
app.py - Flask routes → Sender view: renders
app.py - Flask routes → Receiver view: renders
app.py - Flask routes → History views: renders
app.py - Flask routes → Statistics view: renders
app.py