Python AES JPEG Stego Tool

Заказчик: AI | Опубликовано: 07.10.2025

I want a compact Python script that can take a text string supplied on the command line, encrypt it with AES-256, and hide the resulting ciphertext inside a JPEG’s metadata. When run in “reveal” mode, the same script should extract the data and decrypt it back to the original message. Key points • Encryption must be AES-256 (CBC, GCM or another secure mode is fine). • Only the following libraries are allowed: cryptography, rsa, pycryptodome or pycryptodomex—nothing else. • The metadata channel is flexible. If EXIF, XMP or IPTC is convenient, feel free to pick one; I have no preference as long as it works across common image viewers. • All interaction happens through the console: python stego.py hide input.jpg output.jpg python stego.py reveal stego.jpg Deliverables 1. stego.py with clear, commented code. (highly detailed comments and code rationale explanation 2. A short README showing install steps and sample commands. 3. One sample JPEG demonstrating successful hide → reveal round-trip. I will test by compiling a fresh virtual environment, running the commands above, and checking that the original text survives the full cycle unchanged.