| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 124 | All time:  9,460 This week: 206  | ||||
| Version | License | PHP version | Categories | |||
| imagecrypt 1.0.0 | MIT/X Consortium ... | 7 | PHP 5, Graphics, Text processing | 
| Description | Author | ||||||||||||||||||||||
| This class can encode message inside an image with steganography. | 
 | ||||||||||||||||||||||
Steganography is the art of hiding information in plain image. This project is PHP implementation of this idea and you can hide / fetch plain text from image in bmp or png format.
Via Composer:
$ composer require ravjanisz/imagecrypt
// add instance
use Rav\ImageCrypt\ImageCrypt;
// pass directory and filename
$crypt = new ImageCrypt(__DIR__ . '/files', 'glass.png');
//prepare string to crypt in image
$string = 'ImageCrypt';
//crypt string and save to new file
$crypt->crypt($string, 'glassSaved.png');
//decrypt from file
$decrypt = new ImageCrypt(__DIR__ . '/files', 'glassSaved.png');
//get decrypted message or get exception
$string = $decrypt->decrypt();
echo $string;
None
imagecrypt is licensed under the MIT License - see the LICENSE file for details
|  Files (24) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  src (1 directory) | ||||
|  tests (1 directory) | ||||
|    .travis.yml | Data | Auxiliary data | ||
|    clover.xml | Data | Auxiliary data | ||
|    composer.json | Data | Auxiliary data | ||
|    LICENSE | Lic. | License text | ||
|    phpunit.xml | Data | Auxiliary data | ||
|    README.md | Doc. | Documentation | ||
|  Files (24) | / | src | / | ImageCrypt | 
| File | Role | Description | ||
|---|---|---|---|---|
|  Exception (1 file) | ||||
|  Image (5 files) | ||||
|  String (4 files) | ||||
|  ImageCrypt.php | Class | Class source | ||
|  Files (24) | / | src | / | ImageCrypt | / | Exception | 
| File | Role | Description | 
|---|---|---|
|  ImageCryptException.php | Class | Class source | 
|  Files (24) | / | src | / | ImageCrypt | / | Image | 
| File | Role | Description | 
|---|---|---|
|  Image.php | Class | Class source | 
|  ImageAbstract.php | Class | Class source | 
|  ImageHelper.php | Class | Class source | 
|  ImageInterface.php | Class | Class source | 
|  Rgb.php | Class | Class source | 
|  Files (24) | / | src | / | ImageCrypt | / | String | 
| File | Role | Description | 
|---|---|---|
|  BinaryConverter.php | Class | Class source | 
|  ConverterInterface.php | Class | Class source | 
|  StringConverter.php | Class | Class source | 
|  StringHelper.php | Class | Class source | 
|  Files (24) | / | tests | / | ImageCrypt | 
| File | Role | Description | ||
|---|---|---|---|---|
|  Image (3 files) | ||||
|  String (3 files) | ||||
|  ImageCryptTest.php | Class | Class source | ||
|  Files (24) | / | tests | / | ImageCrypt | / | Image | 
| File | Role | Description | 
|---|---|---|
|  ImageHelperTest.php | Class | Class source | 
|  ImageTest.php | Class | Class source | 
|  RgbTest.php | Class | Class source | 
|  Files (24) | / | tests | / | ImageCrypt | / | String | 
| File | Role | Description | 
|---|---|---|
|  BinaryConverterTest.php | Class | Class source | 
|  StringConverterTest.php | Class | Class source | 
|  StringHelperTest.php | Class | Class source | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.