- -i : input image - image that the message will be encoded into
- -f : input file - message to encode into the image (currently chr 2 terminated but will change soon)
- -i : output file - file for output. encryption will output a bmp, decryption will output a txt file
- -encrypt : tell stego you want to run encryption
- -decrypt : tell stego you want to run decryption
Compile: gcc stego.c -o stego
Encrypt image: ./stego -o output.bmp -i input.bmp -f input.txt -encrypt
Decrypt message: ./stego -o output.txt -i output.bmp -encrypt
If all worked properly output.txt will match input.txt
- Probably changing "-encrypt" and "-decrypt" to "-encode" and "-decode" as it's more accurate
- Currently messages are terminated by a chr 2, obviously an issue if you want to encode a file (like another image). Going to change this.
- Adding public/private key encryption before encoding and decryption after decoding.