PHP Steganography

Encoder
in package

Encodes a message into a medium using the LSB of each pixel.

Tags
author

Sebastiano Racca [email protected]

Table of Contents

Properties

$eom  : string
$message  : Message
$src  : MediumInterface

Methods

__construct()  : mixed
Encoder constructor.
encode()  : void
Encodes the message into the medium.

Properties

Methods

__construct()

Encoder constructor.

public __construct(MediumInterface &$source, Message $message[, string $eom = BinaryMessage::DEFAULT_EOM ]) : mixed
Parameters
$source : MediumInterface

The source medium.

$message : Message

The message to be encoded.

$eom : string = BinaryMessage::DEFAULT_EOM

The binary rappresentation of the End Of Message, must be 8 bits long (default is '00000000').

encode()

Encodes the message into the medium.

public encode() : void

        
On this page

Search results