Skip to content

msmolcic/image-x-ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Status License Email Stack Overflow Linkedin Twitter Follow

🔒🎨 Image X-Ray

Steganography is the practice of concealing a file, message, image, or video within another file, message, image, or video. The term comes from the Greek words steganos, meaning "covered, concealed, or protected", and graphein meaning "writing".

Unlike cryptography, which aims to protect data by transforming it into an unreadable form, steganography's goal is to hide the fact that communication is happening in the first place. In digital steganography, electronic communications may include steganographic coding inside of a transport layer, such as a document file, image file, program, or protocol.

This JavaScript implementation of a steganographer allows you to hide text messages within images. This could be used for fun, secret communications, digital watermarking, or even as a starting point for a more complex steganography project.

🌟 Features

Encodes a text message into an image, subtly altering the image's pixel data to store the message. Decodes a hidden message from an image, extracting the concealed information if it exists. Image preview feature for both original and encoded images. Dynamically calculates the maximum message length that can be encoded into an image, based on the size of the image.

🔧 How to use

✍️ Encoding a message into an image

  1. Under Encode tab, select an image file by clicking on the "Choose file" button and picking an image from your machine.
  2. Enter the message you wish to encode into the "Message" text field.
  3. Click "Encode". If the encoding is successful, download button will appear together with an input box where you can enter the desired image name.

🔍 Decoding a message from an image

  1. Under Decode tab, select an image file by clicking on the "Choose file" button and picking an image from your machine.
  2. If a message is found within the image, it will be displayed in the text area.

💻 Setup

Try it out LIVE! To use this tool locally, clone the repository and open the index.html file in your browser.

git clone git@github.com:msmolcic/image-x-ray.git
cd repository
open index.html

🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

📝 Notes

  • The actual number of characters that can be hidden in an image depends on its size. This tool calculates and displays the maximum possible message length based on the image dimensions.
  • This steganography method is not secure for sensitive information as it doesn't involve any form of encryption. It's a fun way to hide messages but should not be used for securing data.

About

Showcasing the steganography capabilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors