PHP Steganography

BinaryMessage
in package

A binary rappresentation of Message.

Tags
author

Sebastiano Racca [email protected]

Table of Contents

Constants

DEFAULT_EOM  = "00000000"

Properties

$binary  : string

Methods

__construct()  : mixed
Binary Message Construct.
__toString()  : string
addEOM()  : void
Adds the End Of Message to the binary string.
getBinary()  : string
Returns the binary rappresentation of the string.
getLength()  : int
Returns the length of the binary message
toString()  : Message
Returns the binary into a string.

Constants

DEFAULT_EOM

public string DEFAULT_EOM = "00000000"

Default End Of Message

Properties

Methods

__construct()

Binary Message Construct.

public __construct(string $binary) : mixed
Parameters
$binary : string

A binary rappresentation of a string.

__toString()

public __toString() : string
Return values
string

addEOM()

Adds the End Of Message to the binary string.

public addEOM(string $eom) : void
Parameters
$eom : string

The End of Message.

getBinary()

Returns the binary rappresentation of the string.

public getBinary() : string
Return values
string

The binary.

getLength()

Returns the length of the binary message

public getLength() : int
Return values
int

        
On this page

Search results