Code Monkey home page Code Monkey logo

byte's Introduction

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.

byte's People

Contributors

therealori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.