2017 © Pedro Peláez
 

library steganography

Simple implementation of Steganography (Hiding a hidden message within an image)

image

kzykhys/steganography

Simple implementation of Steganography (Hiding a hidden message within an image)

  • Friday, January 24, 2014
  • by kzykhys
  • Repository
  • 7 Watchers
  • 58 Stars
  • 1,309 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 22 Forks
  • 3 Open issues
  • 1 Versions
  • 27 % Grown

The README.md

Steganography

Latest Unstable Version Build Status Coverage Status SensioLabsInsight, (*1)

Simple PHP implementation of Steganography (Hiding a hidden message within an image), (*2)

Requirements

  • PHP5.4+

Installation

Update your composer.json and run composer update, (*3)

``` json { "require": { "kzykhys/steganography": "dev-master" } }, (*4)


Usage ----- ### Put your message into an image ``` php <?php require __DIR__ . '/vendor/autoload.php'; $processor = new KzykHys\Steganography\Processor(); $image = $processor->encode('/path/to/image.jpg', 'Message to hide'); // jpg|png|gif // Save image to file $image->write('/path/to/image.png'); // png only // Or outout image to stdout $image->render();

Extract message from an image

``` php <?php, (*5)

require DIR . '/vendor/autoload.php';, (*6)

$processor = new KzykHys\Steganography\Processor(); $message = $processor->decode('/path/to/image.png');, (*7)

echo $message; // "Message to hide" ```, (*8)

License

The MIT License, (*9)

Author

Kazuyuki Hayashi (@kzykhys), (*10)

The Versions

24/01 2014

dev-master

9999999-dev

Simple implementation of Steganography (Hiding a hidden message within an image)

  Sources   Download

MIT

The Requires

 

by Kazuyuki Hayashi

steganography