Skip to content

italoPontes/Steganography

Repository files navigation

Implementing Steganography from scratch using Python

flake8

Try on:

https://steganography.streamlit.app/

This repository presents a robust implementation of steganography techniques designed specifically for embedding sensitive information within images using the Python programming language. In an era characterized by pervasive cybersecurity threats, safeguarding personal data, such as family photographs, from potential unauthorized access is of utmost importance.

Consider the following scenario: you possess a directory on your computer containing treasured family photographs, and you seek to shield them from unauthorized viewing.

Traditional approaches entail certain limitations:

  • Conventional Storage: Placing images in easily accessible directories on your computer renders them susceptible to discovery by malicious actors.

  • Encryption: Applying password-based encryption to images may inadvertently draw attention to their presence, piquing the curiosity of adversaries and potentially inviting further attempts to breach security measures.

  • Steganographic Solution: Utilizing steganography presents a discreet alternative. By embedding important images within seemingly innocuous ones, such as images resembling movie covers, the likelihood of detection by adversaries is significantly diminished. Moreover, augmenting this approach with additional encryption, bolstered by passwords, enhances the security of the steganographically concealed images.

In essence, this repository offers a comprehensive toolkit for leveraging steganography in image data to enhance privacy and confidentiality in digital environments. Through its clear and concise documentation and illustrative examples, users gain insights into implementing and utilizing steganographic techniques effectively for safeguarding sensitive information.

How to use?

Quick install

For a quick installation, follow these simple steps:

  1. Clone this repository to your local environment.
git clone https://github.com/italoPontes/Steganography/
  1. Navigate to the project directory.
cd Steganography
  1. Run the command pip install -r requirements.txt to install all the necessary dependencies listed in the requirements.txt file.
pip install -r requirements.txt
  1. Once the installation is complete, you're ready to start.

Encode

python how-to-use.py encode
-secret_image data/secret-image.jpg
-cover_image data/Monalisa.png
-output_image data/steganography-image.png

Encode Demonstration

Decode

python how-to-use.py decode
-steganography_image data/steganography-image.png
-secret_image data/retrieved.png

Decode Demonstration

Who am I?

I am Ítalo de Pontes Oliveira, Master's in Computer Vision and Data Scientist.

Italo de Pontes Oliveira

Link to my CV (on-line version).

Link to my CV (PDF version), perhaps outdate.