case file #008
2026 · Author
StegaNet
Steganography in C over sockets: hide text, images and audio inside media and send them between machines.
Shipped
Problem
why this existsExchange hidden messages — text, images and audio — over a network, with encryption and integrity checks.
Architecture
napkin sketch, cleaned up- Raylib UI
- AppStatemutexes
- Stego codecimage · audio LSB
- TCP socketsframed
A centralised AppState model orchestrates multi-threaded networking away from the Raylib UI thread using mutexes.
Technical decisions
and the trade-offsLength-prefixed framing
Structured messages travel over TCP with explicit framing.
Encrypt and verify
AES-256-CBC payload encryption with CRC32 integrity checks.
Key engineering challenges
the bruises- 1
A resilient protocol
Keep-alive pings, timeouts and latency measurement between nodes.
Results
- ✔ Image steganography up to 4KB across R, G, B channels
- ✔ Audio steganography with LSB manipulation
Learnings
- ✎ Frame every message and checksum it, so corruption is detected instead of decoded into garbage.