Download the PHP package sobhanlori/steganography without Composer
On this page you can find all versions of the php package sobhanlori/steganography. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sobhanlori/steganography
More information about sobhanlori/steganography
Files in sobhanlori/steganography
Package steganography
Short Description Hide and extract data in images using steganography techniques.
License MIT
Homepage https://github.com/sobhanlori/steganography
Informations about the package steganography
PHP Steganography
A lightweight PHP package for hiding and retrieving secret messages inside PNG images using steganography.
Features
- Hide text messages inside images
- Extract hidden messages from encoded images
- Simple and fluent API
- No external dependencies required
Installation
Install the package via Composer:
Requirements
- PHP 8.1+
- GD extension enabled
Usage
Hide Data Inside an Image
Download Encoded Image
If you're using the package in a web application, you can directly send the generated image to the browser:
Retrieve Hidden Data
How It Works
The package uses image steganography techniques to embed data within image pixels. The visual appearance of the image remains nearly identical to the original while containing hidden information that can later be extracted.
Limitations
Image Format
Currently, all generated output images are saved as PNG files.
Using PNG ensures that hidden data is preserved because PNG is a lossless image format.
Supported Characters
At the moment, hidden messages can contain:
- English alphabet characters (
A-Z,a-z) - Numbers (
0-9) - Common symbols and punctuation
Unicode and non-English characters are not currently supported.
Examples of supported text:
Example
Contributing
Contributions are welcome.
Running Tests
Before submitting a pull request, please ensure all tests pass successfully.
Security Notes
Steganography hides the existence of data but does not encrypt it.
For sensitive information, consider encrypting your message before embedding it into an image.
License
The MIT License (MIT).
See the LICENSE file for more information.
All versions of steganography with dependencies
ext-gd Version *