Skip to content

pranjalgautam11/Data-Protection-using-Steganography-and-Cryptography

Repository files navigation

Data-Protection-using-Steganography-and-Cryptography

Welcome to the Steganography and Cryptography Portal! This application allows you to hide text in audio files, text in images, and images within images using steganographic techniques.

Features

  • Text in Audio: Hide text messages within audio files.
  • Text in Image: Hide text messages within image files.
  • Image in Image: Hide one image within another image.

Prerequisites

  • Python 3.x
  • Required Python libraries: stegano, Pillow, twofish, memory_profiler, wave

Installation

To get started, clone this repository and install the necessary dependencies:


git clone https://github.com/pranjalgautam11/Data-Protection-using-Steganography-and-Cryptography.git
pip install -r requirements.txt

Usage

Run the main script to access the Steganography and Cryptography Portal:


python menudriven.py

You will be presented with a menu to choose from different steganographic techniques:


Welcome to Steganography and Cryptography Portal

Enter 1: text in audio Enter 2: text in image Enter 3: image in image Enter 0: Exit Choice:

Options

  1. Text in Audio: Enter 1 to hide text within an audio file. This will invoke the aud_steg() function from the textinaudio module.
  2. Text in Image: Enter 2 to hide text within an image file. This will invoke the incript() function from the textinimage module.
  3. Image in Image: Enter 3 to hide one image within another image. This will invoke the image_steg() function from the imageinimage module.
  4. Exit: Enter 0 to exit the portal.

Modules

textinaudio.py

Provides functions to encode and decode text messages in audio files using the LSB (Least Significant Bit) technique. Also supports encryption and decryption of the encoded audio files.

textinimage.py

Provides functions to encode and decode text messages in image files by modifying pixel values. Also supports encryption and decryption of the encoded image files.

imageinimage.py

Provides functions to encode and decode images within other images using the LSB technique. Also supports encryption and decryption of the encoded image files.

Authors

Developed by:

About

This menu driven program ensure the steganography and cryptography of the files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages