How megatruh/steganografi-dengan-enkripsi-elgamal-berbasis-diffie-hellman works
This Streamlit application encrypts secret messages, embeds them in images, and supports extraction, decryption, image analysis, and JPEG fragility testing. The main workflow runs from user input through ElGamal encryption and Reed-Solomon-protected, randomized LSB embedding to a downloadable stego image; extraction reverses those stages. The README documents the product branches, and the SOURCE INDEX confirms app.py references the three core modules. Source excerpts are partial, so some links rely on documented workflows rather than inspected call sites.
Main entry points: app.py Analysis tab · steganography.py RS and LSB-PRNG · elgamal.py ElGamal-DH · analysis.py Image metrics
Components 14
Streamlit workflows
- Web interface
app.py - Encrypt workflow
app.py - Extract workflow
app.py - Analysis tab
app.py - JPEG test tab
app.py
Cryptographic processing
- ElGamal-DH
elgamal.py
Image payload
- RS and LSB-PRNG
steganography.py - Stego image
Analysis and testing
- Image metrics
analysis.py - Histogram analysis
analysis.py - LSB and heatmap
analysis.py - Chi-square analysis
analysis.py - JPEG simulation
analysis.py
Other components
- User
Connections 18
- User → Web interface: uses
README.md - Web interface → Encrypt workflow: offers
README.md - Web interface → Extract workflow: offers
README.md - Web interface → Analysis tab: offers
README.md - Web interface → JPEG test tab: offers
README.md - Encrypt workflow → ElGamal-DH: encrypts message
README.md - Encrypt workflow → RS and LSB-PRNG: protects and embeds
README.md - RS and LSB-PRNG → Stego image: produces
README.md - Extract workflow → RS and LSB-PRNG: extracts and corrects
README.md - Extract workflow → ElGamal-DH: decrypts payload
README.md - Extract workflow → Stego image: reads
README.md - Analysis tab → Image metrics: calculates
README.md - Analysis tab → Histogram analysis: renders
README.md - Analysis tab → LSB and heatmap: renders
README.md - Analysis tab → Chi-square analysis: runs
README.md - JPEG test tab → JPEG simulation: simulates compression
README.md - JPEG test tab → RS and LSB-PRNG: tests extraction
README.md - Analysis tab → Stego image: compares with cover
README.md