Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python GUI image steganography #160

Open
neutr0nStar opened this issue Oct 24, 2021 · 4 comments
Open

Python GUI image steganography #160

neutr0nStar opened this issue Oct 24, 2021 · 4 comments
Assignees

Comments

@neutr0nStar
Copy link

Description :

A GUI application for image steganography made in python.

Features :

  • Encrypt a small text message in an image.
  • Decrypt the text message from the image.

Tentative Deadline : It is ready, just need to add to this repo.

Some Rules to follow :

  • Add a README.md file for your project.
  • Name of Project
  • Demo of Project in .gif how your project is look
  • Description of project
  • Requirements or Setup instructions
  • Name of Author(s)
  • Look at Demo here.
@neutr0nStar
Copy link
Author

Please assign it to me.

@soumikbaithalu
Copy link
Member

Before I will assign it to you @neutr0nStar can you explain the project to me (show me you approach )

@soumikbaithalu soumikbaithalu added the question Further information is requested label Oct 25, 2021
@neutr0nStar
Copy link
Author

The below snippet is from my main.py file explaining my approach

Python GUI image steganography made by Sneharsh Belsare (Github: neutr0nStar)
libraries required: stegano, tkinter (requirements.txt available)
note: using a virtual environtment is recommended
How does steganography work ?
Each character is represented using 8 bits (1 byte) ascii code (eg 01100101)
Each pixel is represented with it's red, green and blue value (0 - 255)
We encode 1 character (8 bit) in 3 pixels,
to do so, we change the r, g, b value of each pixel (if necessary)
to either even or odd dependeing on a bit of character
0 - make it even
1 - make it odd
and the 9th value (of third pixel, blue) will be 0, if there is more data, else 1 (eof)
Eg:
character 'a': ascii value 97, binary : 01100001
3 pixelf from image: (26, 63, 164), (248, 243, 194), (174, 246, 250), (148, 95, 231)
after modification: (26, 63, 163), (248, 244, 194), (174, 246, 250), (148, 96, 231)
'a': 0 1 1 0 0 0 0 0 0 0 0 1

@soumikbaithalu
Copy link
Member

Great go ahead make a PR 👍🏻

@soumikbaithalu soumikbaithalu added Assigned enhancement New feature or request good first issue Good for newcomers Level = Medium and removed question Further information is requested labels Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants