Steganos  1.0
Steganography for Processing
 All Classes Functions
org.quark.stegnos.Steganos Class Reference
Inheritance diagram for org.quark.stegnos.Steganos:

Static Public Member Functions

static int getVersion (PImage stegno)
 
static int getBurdenType (PImage stegno)
 
static PImage embedImage (String pphrase, PImage carrier, PImage burden)
 
static PImage extractImage (String pphrase, PImage stegan)
 
static PImage embedText (String pphrase, PImage carrier, String burden)
 
static String extractText (String pphrase, PImage stegan)
 
static Analysis analyze (PImage carrier, PImage burden)
 
static Analysis analyze (PImage carrier, String burden)
 

Additional Inherited Members

- Public Attributes inherited from org.quark.stegnos.SteganosConstants
int TEXT_BURDEN = 0x0
 
int IMAGE_BURDEN = 0x1
 
int RGB = PConstants.RGB
 
int ARGB = PConstants.ARGB
 
int UTF8 = 0x1
 
int[] CARRIER3_BITS = { 0x00000000, 0x00010101, 0x00030303, 0x00070707, 0x000f0f0f, 0x001f1f1f, 0x003f3f3f, 0x007f7f7f, 0x00ffffff }
 
int[] CARRIER4_BITS = { 0x00000000, 0x01010101, 0x03030303, 0x07070707, 0x0f0f0f0f, 0x1f1f1f1f, 0x3f3f3f3f, 0x7f7f7f7f, 0xffffffff }
 
int[] RGB_MERGED_BITS = { 0x00000000, 0xe0000000, 0xfc000000, 0xff800000, 0xfff00000, 0xfffe0000, 0xffffc000, 0xfffff800, 0xffffff00 }
 
int[] ARGB_MERGED_BITS = { 0x00000000, 0xf0000000, 0xff000000, 0xfff00000, 0xffff0000, 0xfffff000, 0xffffff00, 0xfffffff0, 0xffffffff }
 

Detailed Description

This class provides the main user API for this library and provides methods to

In this documentation I use the term 'stegan' to represent any image with a hidden burden.

  • embed an image into a carrier image
  • embed text into a carrier image
  • extract an image from a stegan
  • extract text from a stegan
  • analyze an image<>image combination for a stegan
  • analyze an image<>text combination for a stegan
Author
Peter Lager

Member Function Documentation

static Analysis org.quark.stegnos.Steganos.analyze ( PImage  carrier,
PImage  burden 
)
static

Analyze a possible image-image combination and confirm that it is a usable combination.

Parameters
carrierproposed carrier image
burdenproposed burden image
Returns
an analysis of this potential combination
static Analysis org.quark.stegnos.Steganos.analyze ( PImage  carrier,
String  burden 
)
static

Analyze a possible image-text combination and confirm that it is a usable combination.

Parameters
carrierproposed carrier image
burdenproposed burden text
Returns
an analysis of this potential combination
static PImage org.quark.stegnos.Steganos.embedImage ( String  pphrase,
PImage  carrier,
PImage  burden 
)
static

Merge the burden image into the carrier image to create a stegan.
If a password is not supplied the burden will be stored un-encrypted.

Parameters
pphrasepassword / pass-phrase
carrierthe carrier image with embedded burden (stegan)
burdenthe text to insert
Returns
the stegan
static PImage org.quark.stegnos.Steganos.embedText ( String  pphrase,
PImage  carrier,
String  burden 
)
static

Create a merge the text into the carrier image to make a stegan. If a password is not supplied the burden will be stored un-encrypted.

Parameters
pphrasepassword / pass-phrase
carrierthe impregnated image (stegan)
burdenthe text to insert
Returns
the stegan
static PImage org.quark.stegnos.Steganos.extractImage ( String  pphrase,
PImage  stegan 
)
static

Extract the image from the stegan. If a password is not supplied it is assumed that the burden is un-encrypted.

Parameters
pphrasepassword / pass-phrase
steganthe carrier image with embedded burden (stegan)
Returns
null if unable to retrieve the image
static String org.quark.stegnos.Steganos.extractText ( String  pphrase,
PImage  stegan 
)
static

Extract the text from the stegan. If a password is not supplied it is assumed that the burden is un-encrypted.

Parameters
pphrasepassword / pass-phrase
steganthe impregnated image (stegan)
Returns
null if unable to retrieve text
static int org.quark.stegnos.Steganos.getBurdenType ( PImage  stegno)
static

Assuming that the image is in fact a stegan get the type of burden embedded.
If the image is not a steganograph the returned value has no significance.
At present only text and images can be embedded so the value returned will be either Steganos.TEXT_BURDEN or Steganos.IMAGE_BURDEN

Parameters
stegnothe stegan
Returns
the burden type
static int org.quark.stegnos.Steganos.getVersion ( PImage  stegno)
static

Given a stegan get the version number used to create it. At present there is only one steganography version so will return 0.
If the image is not a steganograph the returned value has no significance.

Parameters
stegnothe stegan
Returns
the version number

The documentation for this class was generated from the following file: