5 ms·
If you'd like to try doing some steganography yourself, I wrote a simple tool for hiding data in JPEGs: https://github.com/lukechampine/jsteg https://github.com
by nemo1618 8y ago
If you'd like to try doing some steganography yourself, I wrote a simple tool for hiding data in JPEGs: https://github.com/lukechampine/jsteg https://github.com/lukechampine/jsteg
- nobody271 8y agoDid you manually implement the jpeg file format? How did you get it to save without jpeg compression overwriting your bits? I'm working on a similar project https://github.com/smchughinfo/steganographyjr https://github.com/smchughinfo/steganographyjr but so far only png files work. I think it would be nice to manually implement gifs and jpegs but they are not easy algorithms and I suspect there are multiple flavors of each so it just seems like a huge undertaking. ...i will probably try ImageSharp https://github.com/SixLabors/ImageSharp https://github.com/SixLabors/ImageSharp
- nemo1618 8y agoI copied most of the implementation from the Go standard library. The actual diff required to implement the steganography is very small: https://github.com/lukechampine/jsteg/commit/d35a0bb4e6c545d4f1dd2a28eee514228dab3409 https://github.com/lukechampine/jsteg/commit/d35a0bb4e6c545d... Re-encoding the JPEG will destroy the hidden bits, so it's very fragile.
- emmelaich 8y agoYou can make it less fragile with a significant loss of bandwidth.