/StegoLabs

My repository for steganography labs

Primary LanguagePython

Lab1

Hiding information in the text using space characters

In the given text, it is required to hide a certain phrase consisting of letters. We split the hidden text into bits. If the next bit of the secret message is equal to one, then double the space in the container text. If the next bit of the hidden text is equal to zero, then the space remains alone. Plain letters are skipped in the container text. That is, in order to hide the word "text" (4 letters, 4 bytes or 32 bits), you need a text container with at least 32 spaces.

Lab2

Hiding information in text using English and Ukrainian characters

In this Ukrainian text, it is required to hide a certain phrase consisting of letters. We split the hidden text into bits. If the letter is in the Ukrainian alphabet and the next bit of the secret message is equal to one, we change it to the same letter in the English alphabet. If the next bit of the hidden text is zero, then the letter does not change.

Lab3

Hiding information in images

It is required to hide a certain phrase consisting of letters in the image using the least significant bit. We split the hidden text into bits. The last bit of each pixel is changed and replaced with the data bit of the secret message.