This is simple steganography tool that hiddes messages in JPG and PNG immages.
python3 hide.py -e(to encode)/-d(to decode) input_file
hide.py uses pillow
and bitarray
modules.
To download pillow type pip3 install Pillow
.
To download bitarray type pip3 install bitarray
.
python3 hide.py -e image.jpg
It asks you for a message to hide and creates r.png
file which contains hidden message.
python3 hide.py -d r.png
to encrypt a message from image.
This is original image:
This is the image with hidden message "This is a secret message":