Learn the basics of steganography with Python. Let's write two programs, the first one will read the bytes of the picture and look for some "messages" there, and the second one will hide the messages in the picture.
First, let's create a new file, for example read.py. And let's make a cFile variable that will open our picture:
Now we will read bytes, for this we will make a byte variable that will be equal to r.read (1), well, a k variable that will be equal to 0
Well, let's make them read bytes through a loop:
Whole code:
Okay, read.py is ready, now it's time to write main.py.
To do this, create a new file, and open the file:
Well, write to the picture:
Whole code:
Okay, now let's run on main.py, and write some words into it:
to check run read.py
First, let's create a new file, for example read.py. And let's make a cFile variable that will open our picture:
You must reply before you can see the hidden data contained here.
You must reply before you can see the hidden data contained here.
You must reply before you can see the hidden data contained here.
You must reply before you can see the hidden data contained here.
To do this, create a new file, and open the file:
You must reply before you can see the hidden data contained here.
You must reply before you can see the hidden data contained here.
You must reply before you can see the hidden data contained here.
to check run read.py