Skip to content

therealOri/byte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Byte

Steganography Image/Data Injector. For artists or people to inject their own Datamark "Watermark" into their images/art or files!


Update | 1/30/2023:

Warning: The bigger the video, the more frames it'll need to extract..which means longer wait times. It may take a while for bigger video files.. Gifs are also still unsupported as of now, still looking into how to get that to work.

  • Updated encryption to use GCMlib instead of its own library file.

If you encounter any bugs or weirdness, please let me know!




Showcase

asciicast

A video showcasing how byte works.




TODO

  • Wav Audio file based steganography. (no .mp3)
  • Better way of encoding data into video files. (Without frame extraction) [Help Wanted!]
  • Extract frames faster for larger/longer videos. [Help Wanted!]
  • .gif file support [Help Wanted!]



Hashing

"Hashing" is the process of scrambling raw information to the extent that it cannot be reproduced back into its original form. It takes a piece of information and passes it through a function that performs mathematical operations. This function is called the hash function, and the output is called the hash value/digest. And hash values/hashes can be used to compare files or text to see if they match or are the same.

With this being said, You can use the new "Check Hash" function to get the hash of your art!


Examples (Of test files called Arch_btw_no_datamark.png and Arch_btw_datamark.png):

  • No Datamark: 1f82f21419729c3e3c39702cdf98815371571f8fa11327fcd80b0cb77fef2bea | This hash value is of the file before you would add your datamark or edit the file. (original art/image hash)

  • Datamark: d45bd77ee6c3fc53b13298d72dd23994eddcd891ef1f8794e54b6188356e9eca | This hash value is of the file after you have added a datamerk. | Watermark/Datamark is --> "This art is made by: Ori#6338 (On Discord). <3"

  • Changed Datamark: d5bde81df87f826a48464775e5eff69ea6fb319f0b9325ceda2f6de5c4358b95 | If anyone changed your datamark to something else, they will get a different hash value all together. | Watermark/Datamark changed/edited to --> "This art is made by: SomeGuy#1234 (On Discord) <3"

  • Edited File: 87c8f58043e5877350d679cea697d601df98b85e78e1145e47e1b2a8d5428822 | This hash value is what I got when I edited the image/art and exported it as a png, etc. after already giving it my datamark.


As you can see, The hashes are completely different and can let you or others know, which image/art is the original that came from you!




Installation/Links

git clone https://github.com/therealOri/byte.git
cd byte

# Optional: pip install virtualenv
virtualenv bytENV
source bytENV/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt

python byte.py

# deactivate
# (For leaving the virtual enviroment when done. Or just close the terminal/cmd window.)

If you do not know how to install anything or if you are unsure how to do things. I highly encourage you to create/make an issue or hop on over to our discussions area and I'll happily help you out!

Byte Discussions




Supported Filetypes

Your favorites:

  • PNG
  • JPG/JPEG
  • MP4
  • WEBM

More here


Unsupported Filetypes

  • GIF


Notes:

  • This will not affect image quality or anything else to do with the image. It will be exactly the same to the naked eye.
  • This code does not inject files/images into said image. I may make a seperate file in this repo for that.
  • You need python3 in order to use this. (Very easy to get/install and use)
  • If you want to make this code cleaner, better, more optimized, or add onto the code. Please make a pull request and push your code for me to review.
  • Hashing does Nothing to the image/art or image/art quality. Your art will still look, feel, and be the same.

About

Steganography Image/Data Injector. You an artist? Then feel free to add a little something special and extra to your images using byte!

Topics

Resources

Stars

Watchers

Forks

Languages