C# Class Incog.Steganography.WebPageSteganography

The steganography web page class allows reading and writing short messages into HTML.
Mostra file Open project: SimWitty/Incog Class Usage Examples

Public Methods

Method Description
GetBytes ( ) : byte[]

Get the HTML bytes with the steganographic message.

ReadValue ( ) : string

Read -- decrypt, decode, and display the steganographic message.

WebPageSteganography ( FileInfo file, SecureString passphrase ) : System

Initializes a new instance of the WebPageSteganography class.

WebPageSteganography ( byte html, SecureString passphrase ) : System

Initializes a new instance of the WebPageSteganography class.

WriteValue ( string value ) : void

Write -- encode, encrypt, and hide the steganographic message.

Private Methods

Method Description
CopyOriginalToStego ( ) : void

Copy the original bytes to the steganography bytes.

EmbedBytesInPage ( byte buffer ) : void

Write the bytes in the buffer to the positions within the byte array.

Method Details

GetBytes() public method

Get the HTML bytes with the steganographic message.
public GetBytes ( ) : byte[]
return byte[]

ReadValue() public method

Read -- decrypt, decode, and display the steganographic message.
public ReadValue ( ) : string
return string

WebPageSteganography() public method

Initializes a new instance of the WebPageSteganography class.
public WebPageSteganography ( FileInfo file, SecureString passphrase ) : System
file System.IO.FileInfo A file containing HTML.
passphrase System.Security.SecureString The passphrase to use for encryption and decryption.
return System

WebPageSteganography() public method

Initializes a new instance of the WebPageSteganography class.
public WebPageSteganography ( byte html, SecureString passphrase ) : System
html byte The HTML from the stream byte array.
passphrase System.Security.SecureString The passphrase to use for encryption and decryption.
return System

WriteValue() public method

Write -- encode, encrypt, and hide the steganographic message.
public WriteValue ( string value ) : void
value string The text value to write into the page.
return void