C# Class Incog.Steganography.WebPageSteganography

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

ReadValue() public méthode

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

WebPageSteganography() public méthode

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.
Résultat System

WebPageSteganography() public méthode

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.
Résultat System

WriteValue() public méthode

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