How sup1118/final works
cryptography1 is a browser-based image steganography sandbox: a user loads an image, hides or reads a text message in its RGB least-significant bits, inspects a visual difference map, and can download the encoded image. The UI handles image and canvas state, actions, diagnostics, and export; crypto.js provides the encoding and decoding logic. The README contains only the project name, so capabilities here are based on the supplied source excerpts; index.html and style.css were not sampled.
Main entry points: ui.js Message Actions · crypto.js LSB Codec
Components 7
Browser Interface
- Image Workspace
ui.js - Message Actions
ui.js - Difference View
ui.js - Image Export
ui.js
Steganography Core
- LSB Codec
crypto.js
Other components
- User
- Browser APIs
Connections 7
- User → Image Workspace: selects image
ui.js - User → Message Actions: requests encode/decode
ui.js - User → Image Export: requests download
ui.js - Image Workspace → Browser APIs: reads and draws
ui.js - Message Actions → LSB Codec: encodes or decodes
ui.js - Message Actions → Difference View: generates map
ui.js - Image Export → Browser APIs: downloads canvas
ui.js