Skip to content
D ABHISHEK YADAV edited this page Feb 15, 2025 · 5 revisions

Secure Data Hiding in Image Wiki

Overview

Welcome to the Secure Data Hiding in Image project wiki! This project is designed to protect your confidential information by securely encrypting and decrypting messages hidden within images. Leveraging advanced technologies such as HTML, CSS (Tailwind CSS), TypeScript, React, Vite, Python (Flask), Pillow, and steganography, this application ensures your sensitive data remains private and protected.

Features

Encrypt Message Hide your secret messages within images using a secure encryption password.

Decrypt Message

Retrieve hidden messages from images by providing the correct decryption password.

Password Protection

Incorrect passwords generate random characters and symbols, safeguarding your data.

Tech Stack

Frontend

  • HTML, CSS (Tailwind CSS), TypeScript
  • React (for building user interfaces)
  • Vite (for fast development and build tooling)

Backend

  • Python (Flask for server-side operations)
  • Pillow (Python Imaging Library for image processing)
  • Cryptography (Python library for encryption and decryption)

Directory Structure

github.com/codewithshek/ibm-intern-secure-data-hiding-in-image/
├── Readme.md
├── AICTE x IBM-INTERN-PROJECT-PPT.pptx
├── eslint.config.js
├── index.html
├── package.json
├── postcss.config.js
├── tailwind.config.js
├── tsconfig.app.json
├── tsconfig.json
├── tsconfig.node.json
├── vite.config.ts
├── public/
└── src/
    ├── App.tsx
    ├── app.py
    ├── decrypt.py
    ├── encrypt.py
    ├── index.css
    ├── main.tsx
    ├── vite-env.d.ts
    └── assets/

Setup & Installation

1. Clone the Repository

 git clone https://github.com/codewithshek/ibm-intern-secure-data-hiding-in-image.git
cd ibm-intern-secure-data-hiding-in-image

2. Install Dependencies

npm install 
pip install opencv-python
pip install Flask
pip install pillow

3. Run the Application

Start the frontend

npm run dev

Start the backend

python src/app.py

4. Access the Application

Open your browser and navigate to the generated custom URL like http://localhost:5173/ to start using the secure data hiding tool.

Key Functions

  • encrypt_message(image, message, password): Encrypts and hides a message within an image using the provided password.
  • decrypt_message(image, password): Decrypts and retrieves the hidden message from an image using the correct password.

Future Enhancements

  • ✅ Implement multi-language support.
  • ✅ Add advanced encryption algorithms for enhanced security.
  • ✅ Develop a mobile application for on-the-go encryption and decryption.

Contributing

Feel free to fork and submit pull requests. Any contributions are welcome!

Made with ❤️ by D ABHISHEK YADAV as part of the IBM Cyber Security Internship

About

IBM-Intern-Secure-Data-Hiding-in-Image is a cutting-edge web application designed to protect your confidential information by securely encrypting and decrypting messages hidden within images. Leveraging advanced technologies such as HTML, CSS (Tailwind CSS), TypeScript, React, Vite, Python (Flask), Pillow, and steganography.

Topics

Resources

Languages

* TypeScript (65.8%)
* Python (24.5%)
* JavaScript (6.4%)
* HTML (2.4%)
* CSS (0.9%)

Suggested Workflows

Based on your tech stack:

1. Grunt: Build a NodeJS project with npm and grunt.
2. Datadog Synthetics: Run Datadog Synthetic tests within your GitHub Actions workflow.
3. Python Package using Anaconda: Create and test a Python package on multiple Python versions using Anaconda for package management.