AnyEdgeStego is a steganography tool allowing users to hide text within the edges of an image, providing functionalities to encode text into an image, decode hidden text from an image, and inspect an image to determine how much potential text it can conceal.
To install AnyEdgeStego, clone the repository and install the necessary requirements:
git clone https://github.com/raystriker/AnyEdgeStego.git
cd anyedgestego
pip install -r requirements.txt
To encode text into an image, use the encode
operation, specifying the input image path, the text to encode, and the output directory to save the modified image:
python stego_cli.py encode --input /path/to/image --text "Secret Text" --output /path/to/output_dir
To decode the hidden text from an image, use the decode
operation, specifying the input image path and the number of bits to decode:
python stego_cli.py decode --input /path/to/image --bits NUMBER_OF_BITS
To inspect an image and determine the number of bits that can be encoded, use the inspect
operation, specifying the input image path:
python stego_cli.py inspect --input /path/to/image
2. Only a certain amount of bits can be encoded, it's recommended to "inspect" the input image first
Here are some example usages of the AnyEdgeStego tool:
# Encoding example
python stego_cli.py encode --input example.jpg --text "Hello, World!" --output encoded_image.bmp
# Decoding example
python stego_cli.py decode --input encoded_image.bmp --bits 12
# Inspecting example
python stego_cli.py inspect --input example.bmp
This project is licensed under the MIT License - see the LICENSE file for details.