A B C D E F G H I J L M N O P R S T V W Y

A

ABORT - Static variable in class trex.GUI.JMessageBox
Button type: Abort
accept(File) - Method in class trex.GUI.ImageChooser.ImageFilter
Accept all directories and all gif, jpg, or png files.
actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame_AboutBox
Close the dialog on a button event.
actionPerformed(ActionEvent) - Method in class trex.GUI.JMessageBox
Close the dialog on a button event

B

Box(Frame, String, String, int) - Static method in class trex.GUI.JMessageBox
Display a modal message box and return selected button.
bytesToInt(byte[]) - Static method in class trex.TRexUtil
generate an integer from a byte array with 4 elements
bytesToString(byte[]) - Static method in class trex.TRexUtil
print a byte array as a comma seperated string

C

CANCEL - Static variable in class trex.GUI.JMessageBox
Button type: Cancel
CHANNEL_BLUE - Static variable in class trex.GUI.HistoPanel
Display Histogram for blue channel
CHANNEL_GREEN - Static variable in class trex.GUI.HistoPanel
Display Histogram for green channel
CHANNEL_RED - Static variable in class trex.GUI.HistoPanel
Display Histogram for red channel
CHANNEL_VALUE - Static variable in class trex.GUI.HistoPanel
Display Histogram for value
clamp(int) - Static method in class trex.GUI.CombinedPanel
Converts an int to a byte, setting the byte to 255 when input is larger than 255, or 0, if input is negative.
collectBins(Frame, ImageIcon, int) - Static method in class trex.GUI.HistoPanel
Grab pixels from image and create histogram bins.
collectBins(int[], int) - Static method in class trex.GUI.HistoPanel
Create histogram bins.
CombinedPanel - class trex.GUI.CombinedPanel.
This class provides a panel for the combined view, i.e. the uncrypted, the crypted and the differential picture on the same screen.
CombinedPanel(ImageIcon, ImageIcon, Frame) - Constructor for class trex.GUI.CombinedPanel
Constructor.
CombinedPanel(ImageIcon, ImageIcon, Frame, int) - Constructor for class trex.GUI.CombinedPanel
Constructor.
concatByteArrays(byte[], byte[]) - Static method in class trex.TRexUtil
concatenate two byte arrays.
createDiff(ImageIcon, ImageIcon, Frame, int) - Static method in class trex.GUI.CombinedPanel
return a differential pic of img1 and img2.
createHisto(Frame, ImageIcon, int, int, Color, int) - Static method in class trex.GUI.HistoPanel
Create the actual histogram image.
cropImage(Object, int, int) - Method in class trex.Algo.StegoAlgoFFT
After the inverse DFT, the image can be cropped to the original image's size with this function.

D

data - Variable in class trex.Filter.TRexFilterRGB
Data to hide as a byte array.
DataPanel - class trex.GUI.DataPanel.
This class provides a panel for the texts to hide.
DataPanel(JFrame, StegData) - Constructor for class trex.GUI.DataPanel
Constructs new Panel.
DecryptImpossibleException - exception trex.DecryptImpossibleException.
An Exception of this class is thrown when a decryption failed because the algorithm was not able to handle the contained data.
DecryptImpossibleException() - Constructor for class trex.DecryptImpossibleException
 
defaultAmplification() - Method in class trex.StegData
Get current algorithm's default amplification for combined panel.
defaultAmplification() - Method in class trex.Algo.StegoAlgoFFT
Return the default amplification of this algorithm for the combinedPanel.
defaultAmplification() - Method in class trex.Algo.StegoAlgoRGB
Return the default amplification of this algorithm for the combinedPanel.
defaultAmplification() - Method in class trex.Algo.StegoAlgo
Return the default amplification of this algorithm for the combinedPanel.

E

embedData(String, PlanarImage, int, int) - Method in class trex.Algo.StegoAlgoFFT
Embed data into image.
extractData(PlanarImage, int, int) - Method in class trex.Algo.StegoAlgoFFT
Get actual data from image.

F

filterRGB(int, int, int) - Method in class trex.Algo.StegoAlgoLSB.LSBEncryptFilter
hides 3 bits of data in exactely one pixel and returns the new pixel
filterRGB(int, int, int) - Method in class trex.Algo.StegoAlgoLSB.LSBDecryptFilter
Extracts the data from the image.
FormatTransformed(PlanarImage, BufferedImage) - Method in class trex.Algo.StegoAlgoFFT
Reformat the image to "TYPE_BYTE" so it can be displayed.

G

getBit(byte[], int) - Static method in class trex.TRexUtil
Return a bit (0 || 1) from a byte array indexed as pos.
getConfigDialog() - Method in class trex.StegData
Get current algorithm's config dialog.
getConfigDialog() - Method in class trex.Algo.StegoAlgoFFT
Return the config dialog.
getConfigDialog() - Method in class trex.Algo.StegoAlgoLSB
LSB does not have a config dialog - returns null.
getConfigDialog() - Method in class trex.Algo.StegoAlgo
If hasConfigDialog() is true, return a panel with the config dialog.
getCrypted() - Method in class trex.StegData
Get the encrypted image.
getData() - Method in class trex.StegData
Get contained data (e.g. from decryption).
getData() - Method in class trex.Filter.TRexFilterRGB
Return contained data as a String.
getData() - Method in class trex.Algo.StegoAlgoLSBpp.LSBppDecryptFilter
Return contained data as a String.
getDecrypted(ImageIcon) - Method in class trex.Algo.StegoAlgoFFT
Get embedded data from image.
getDecrypted(ImageIcon) - Method in class trex.Algo.StegoAlgoRGB
Return the string contained in the ImageIcon.
getDecrypted(ImageIcon) - Method in class trex.Algo.StegoAlgo
Return the string contained in the ImageIcon.
getDecryptFilter(int, int) - Method in class trex.Algo.StegoAlgoRGB
Return a decrypt filter for this algorithm.
getDecryptFilter(int, int) - Method in class trex.Algo.StegoAlgoLSBpp
Return a decrypt filter for this algorithm.
getDecryptFilter(int, int) - Method in class trex.Algo.StegoAlgoLSB
Return a decrypt filter for this algorithm.
getDescription() - Method in class trex.GUI.ImageChooser.ImageFilter
The description of this filter
getDescription(File) - Method in class trex.GUI.ImageChooser.ImageFileView
Return a description for the file.
getEncrypted(String, ImageIcon) - Method in class trex.Algo.StegoAlgoFFT
This method is called from the application's StegData object.
getEncrypted(String, ImageIcon) - Method in class trex.Algo.StegoAlgoRGB
Return an image hiding the data.
getEncrypted(String, ImageIcon) - Method in class trex.Algo.StegoAlgo
Return an image hiding the data.
getEncryptFilter(String, int, int) - Method in class trex.Algo.StegoAlgoRGB
Return an encrypt filter for this algorithm.
getEncryptFilter(String, int, int) - Method in class trex.Algo.StegoAlgoLSBpp
Return an encrypt filter for this algorithm (identical to LSB) and XOR data with pass phrase beforehand.
getEncryptFilter(String, int, int) - Method in class trex.Algo.StegoAlgoLSB
Return an encrypt filter for this algorithm.
getExtension(File) - Static method in class trex.GUI.ImageChooser.ImageChooserUtils
Get the extension of a file.
getIcon(File) - Method in class trex.GUI.ImageChooser.ImageFileView
Return an icon for the file.
getInfo() - Method in class trex.Algo.StegoAlgoFFT
Static info.
getInfo() - Method in class trex.Algo.StegoAlgoLSBpp
Return an info string about this algorithm.
getInfo() - Method in class trex.Algo.StegoAlgoLSB
Return an info string about this algorithm.
getInfo() - Method in class trex.Algo.StegoAlgo
Return an info string about this algorithm.
getName(File) - Method in class trex.GUI.ImageChooser.ImageFileView
Return file's name.
getTypeDescription(File) - Method in class trex.GUI.ImageChooser.ImageFileView
Return a description for the file type.
getUncrypted() - Method in class trex.StegData
Get the uncrypted image.
gif - Static variable in class trex.GUI.ImageChooser.ImageChooserUtils
Image suffixes.

H

h - Variable in class trex.Filter.TRexFilterRGB
Objective picture's size.
hasConfigDialog() - Method in class trex.StegData
Return whether current algorith has a config dialog.
hasConfigDialog() - Method in class trex.Algo.StegoAlgoFFT
Algorithm has a config dialog.
hasConfigDialog() - Method in class trex.Algo.StegoAlgoLSB
Return whether this algorithm has a config dialog.
hasConfigDialog() - Method in class trex.Algo.StegoAlgo
Return whether this algorithm has a config dialog.
hasPassPhrase() - Method in class trex.StegData
Return whether current algorithm needs a pass phrase.
hasPassPhrase() - Method in class trex.Algo.StegoAlgoFFT
Algorithm doesn't have a pass phrase - uses a config dialog instead.
hasPassPhrase() - Method in class trex.Algo.StegoAlgoLSBpp
Return true.
hasPassPhrase() - Method in class trex.Algo.StegoAlgoLSB
Return whether this algorithm needs a pass phrase.
hasPassPhrase() - Method in class trex.Algo.StegoAlgo
Return whether this algorithm needs a pass phrase.
HistoPanel - class trex.GUI.HistoPanel.
This class provides a panel for (possibly two concurrent) histograms of ImageIcons.
HistoPanel(Frame, ImageIcon, ImageIcon, Color, Color, String, int, int) - Constructor for class trex.GUI.HistoPanel
Constructor.

I

IGNORE - Static variable in class trex.GUI.JMessageBox
Button type: Ignore
iitobi(ImageIcon, Frame) - Static method in class trex.TRexUtil
create a BufferedImage from an ImageIcon
ImageChooserUtils - class trex.GUI.ImageChooser.ImageChooserUtils.
Stupid helper class for filechooser.
ImageChooserUtils() - Constructor for class trex.GUI.ImageChooser.ImageChooserUtils
 
ImageFileView - class trex.GUI.ImageChooser.ImageFileView.
This class implements a file view for application's "load" and "save" dialogs.
ImageFileView() - Constructor for class trex.GUI.ImageChooser.ImageFileView
 
ImageFilter - class trex.GUI.ImageChooser.ImageFilter.
The ImageFilter checks whether a file is to be displayed in the file chooser.
ImageFilter() - Constructor for class trex.GUI.ImageChooser.ImageFilter
 
ImagePreview - class trex.GUI.ImageChooser.ImagePreview.
The ImagePreview creates a thumbnail for files.
ImagePreview(JFileChooser) - Constructor for class trex.GUI.ImageChooser.ImagePreview
Constructs a new ImagePreview.
insertTextLabel(String) - Method in class trex.GUI.CombinedPanel
Helper function: add a Label to this Panel
intsToString(int[]) - Static method in class trex.TRexUtil
print a int array as a comma seperated string
intToBytes(int) - Static method in class trex.TRexUtil
Convert an integer to an array of 4 bytes.
isTraversable(File) - Method in class trex.GUI.ImageChooser.ImageFileView
Whether this directory is traversable.

J

jMenuAlgoLoad_actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame
Algorithm | Load Algorithm action performed.
jMenuExtraGC_actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame
Extra | Garbage Collection action performed.
jMenuFileExit_actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame
File | Exit action performed.
jMenuFileLoadCrypted_actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame
File | Load crypted action performed.
jMenuFileLoadUncrypted_actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame
File | Load uncrypted action performed.
jMenuFileSaveCrypted_actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame
File | Save crypted action performed.
jMenuHelpAbout_actionPerformed(ActionEvent) - Method in class trex.GUI.MainFrame
Help | About action performed.
JMessageBox - class trex.GUI.JMessageBox.
Provides a simple MessageBox class.
jpeg - Static variable in class trex.GUI.ImageChooser.ImageChooserUtils
Image suffixes.
jpg - Static variable in class trex.GUI.ImageChooser.ImageChooserUtils
Image suffixes.

L

loadAlgoClass(String) - Method in class trex.GUI.MainFrame
 
loadData(File) - Method in class trex.GUI.DataPanel
 

M

main(String[]) - Static method in class trex.TRexApp
Main method
MainFrame - class trex.GUI.MainFrame.
This class represents the main frame.
MainFrame_AboutBox - class trex.GUI.MainFrame_AboutBox.
Display Message Box with info about TRex.
MainFrame_AboutBox(Frame) - Constructor for class trex.GUI.MainFrame_AboutBox
Constructor.
MainFrame(String, String, String) - Constructor for class trex.GUI.MainFrame
Construct the frame.
makeImagePanel(ImageIcon) - Static method in class trex.TRexUtil
Creates a JPanel only containing an ImageIcon.
makeImagePanel(String) - Static method in class trex.TRexUtil
Creates a JPanel only containing an ImageIcon read from a file.
makePanel(ImageIcon, String) - Static method in class trex.TRexUtil
Construct a panel displaying an ImageIcon (if available) or a text (as a fallback).
makePanel(String, String) - Static method in class trex.TRexUtil
Construct a panel displaying an ImageIcon (if available) or a text (as a fallback).
makeTextPanel(String) - Static method in class trex.TRexUtil
Creates a JPanel only containing a text label.
maxArray(int[]) - Static method in class trex.TRexUtil
Find largest value in an array.
modifyText(JFrame, String) - Static method in class trex.GUI.SimpleTextEditor
Display a window to edit the text.

N

NO - Static variable in class trex.GUI.JMessageBox
Button type: No

O

OK - Static variable in class trex.GUI.JMessageBox
Button type: OK
openCrypted(String) - Method in class trex.StegData
Open a crypted Image (containing hidden data).
openUncrypted(String) - Method in class trex.StegData
Open an uncrypted Image with filename.

P

paintComponent(Graphics) - Method in class trex.GUI.ImageChooser.ImagePreview
perform image painting
paramsChanged() - Method in class trex.StegData
This routine is called whenever the parameters have changed, e.g. new images, new data, changes in pass phrase/config dialog, ...
parseParams(String[]) - Static method in class trex.TRexApp
Parse parameters.
passPhrase - Variable in class trex.Algo.StegoAlgo
Algorithm's current pass phrase.
PassPhrasePanel - class trex.GUI.PassPhrasePanel.
This panel provides a pass phrase input dialog for TRex.
PassPhrasePanel(StegData, String) - Constructor for class trex.GUI.PassPhrasePanel
Constructor.
pictureLargeEnough(ImageIcon, String) - Method in class trex.Algo.StegoAlgoFFT
Algorithm currently does not know how big an image has to be.
pictureLargeEnough(ImageIcon, String) - Method in class trex.Algo.StegoAlgoLSB
Return whether the passed picture is large enough to carry the data
pictureLargeEnough(ImageIcon, String) - Method in class trex.Algo.StegoAlgo
Return whether the passed picture is large enough to carry the data
png - Static variable in class trex.GUI.ImageChooser.ImageChooserUtils
Image suffixes.
printDebug(String) - Static method in class trex.TRexUtil
 
processWindowEvent(WindowEvent) - Method in class trex.GUI.MainFrame_AboutBox
Overridden so we can exit when window is closed.
processWindowEvent(WindowEvent) - Method in class trex.GUI.MainFrame
Overridden so we can exit when window is closed.
propertyChange(PropertyChangeEvent) - Method in class trex.GUI.ImageChooser.ImagePreview
Respond to file selections and the like.

R

resetDataPanel() - Method in class trex.GUI.MainFrame
Reset the data panel.
resetPicPanels() - Method in class trex.GUI.MainFrame
Reconstruct the panels containg the pictures (cryted, uncrypted, combined).

S

saveCrypted(String) - Method in class trex.StegData
Save crypted image to file.
setAlgo(Class) - Method in class trex.StegData
Set a new algorithm.
setBit(byte[], int, int) - Static method in class trex.TRexUtil
Set a bit in a byte array.
setData(String) - Method in class trex.StegData
Set new data to hide.
setImg1(ImageIcon) - Method in class trex.GUI.HistoPanel
Set image1.
setImg2(ImageIcon) - Method in class trex.GUI.HistoPanel
Set image2.
setPassPhrase(String) - Method in class trex.StegData
Set a new pass phrase for current algorithm.
setPassPhrase(String) - Method in class trex.Algo.StegoAlgo
Set new pass phrase.
setText(String) - Method in class trex.GUI.DataPanel
set panel's text.
simpleAddImages(Frame, ImageIcon, ImageIcon) - Static method in class trex.TRexUtil
This method adds two images and returns their "OR" picture.
simpleAddImages(Frame, Image, Image, int, int) - Static method in class trex.TRexUtil
This method adds two images by returning their "OR" picture.
SimpleTextEditor - class trex.GUI.SimpleTextEditor.
This is a simple text editor window.
squaredImage(Object, int, int) - Method in class trex.Algo.StegoAlgoFFT
As FFT needs Images of the dimension n^2 x m^2 for any natural n and m, the image is converted to an image of that size beforehand with this method.
StegData - class trex.StegData.
This class handles steganography algorithms and their data.
StegData(MainFrame, Class) - Constructor for class trex.StegData
Default constructor.
StegoAlgo - class trex.Algo.StegoAlgo.
This class defines the interface of steganography algorithms.
StegoAlgo() - Constructor for class trex.Algo.StegoAlgo
 
StegoAlgoFFT - class trex.Algo.StegoAlgoFFT.
This algorithm stores data in the frequency domain.
StegoAlgoFFT() - Constructor for class trex.Algo.StegoAlgoFFT
 
StegoAlgoLSB - class trex.Algo.StegoAlgoLSB.
This class implements the LSB Steganography Algorithm.
StegoAlgoLSB.LSBDecryptFilter - class trex.Algo.StegoAlgoLSB.LSBDecryptFilter.
LSBDecryptFilter is the decrypt filter for the LSB algorithm.
StegoAlgoLSB.LSBDecryptFilter(int, int) - Constructor for class trex.Algo.StegoAlgoLSB.LSBDecryptFilter
Constructs a new filter.
StegoAlgoLSB.LSBEncryptFilter - class trex.Algo.StegoAlgoLSB.LSBEncryptFilter.
LSBEncryptFilter is the encrypt filter for the LSB algorithm.
StegoAlgoLSB.LSBEncryptFilter(String, int, int) - Constructor for class trex.Algo.StegoAlgoLSB.LSBEncryptFilter
Constructs a new filter.
StegoAlgoLSB() - Constructor for class trex.Algo.StegoAlgoLSB
 
StegoAlgoLSBpp - class trex.Algo.StegoAlgoLSBpp.
This class adds a (very little) bit of security to the LSB algorithm by XORing every input character with a character from the passphrase.
StegoAlgoLSBpp.LSBppDecryptFilter - class trex.Algo.StegoAlgoLSBpp.LSBppDecryptFilter.
This class adds the XOR functionality to the "getData" function.
StegoAlgoLSBpp.LSBppDecryptFilter(int, int) - Constructor for class trex.Algo.StegoAlgoLSBpp.LSBppDecryptFilter
Constructor.
StegoAlgoLSBpp() - Constructor for class trex.Algo.StegoAlgoLSBpp
 
StegoAlgoRGB - class trex.Algo.StegoAlgoRGB.
This extension to standard StegoAlgos allows for an easier implementation, if the subjacent algorithm only works "pixel-wise", taking one pixel at a time and returning another.
StegoAlgoRGB() - Constructor for class trex.Algo.StegoAlgoRGB
 
subArray(byte[], int, int) - Static method in class trex.TRexUtil
return a part of an array.
synopsis() - Static method in class trex.TRexApp
 

T

trex - package trex
 
trex.Algo - package trex.Algo
 
trex.Filter - package trex.Filter
 
trex.GUI - package trex.GUI
 
trex.GUI.ImageChooser - package trex.GUI.ImageChooser
 
TRexApp - class trex.TRexApp.
TRex Application.
TRexApp() - Constructor for class trex.TRexApp
Construct the application
TRexFilterRGB - class trex.Filter.TRexFilterRGB.
This is the base class for all encrypt and decrypt filters.
TRexFilterRGB() - Constructor for class trex.Filter.TRexFilterRGB
Default constructor.
TRexFilterRGB(String, int, int) - Constructor for class trex.Filter.TRexFilterRGB
Creates a new filter.
TRexUtil - class trex.TRexUtil.
This class provides a couple of helper functions commonly used in TRex (and maybe others... ;) Methods are static and can be called from outside without instantiating TRexUtil.
TRexUtil() - Constructor for class trex.TRexUtil
 

V

validConfig() - Method in class trex.Algo.StegoAlgoFFT
Config is valid when it's "I know it's senseless" button is checked.
validConfig() - Method in class trex.Algo.StegoAlgoLSB
Return whether the config setup in the setup/passphrase dialog is valid.
validConfig() - Method in class trex.Algo.StegoAlgo
Return whether the config from pass phrase or config dialog are valid.

W

w - Variable in class trex.Filter.TRexFilterRGB
Objective picture's size.
windowActivated(WindowEvent) - Method in class trex.GUI.JMessageBox
Event handling.
windowClosed(WindowEvent) - Method in class trex.GUI.JMessageBox
Event handling.
windowClosing(WindowEvent) - Method in class trex.GUI.JMessageBox
Window closing is understood as "Abort" button.
windowDeactivated(WindowEvent) - Method in class trex.GUI.JMessageBox
Event handling.
windowDeiconified(WindowEvent) - Method in class trex.GUI.JMessageBox
Event handling.
windowIconified(WindowEvent) - Method in class trex.GUI.JMessageBox
Event handling.
windowOpened(WindowEvent) - Method in class trex.GUI.JMessageBox
Event handling.

Y

YES - Static variable in class trex.GUI.JMessageBox
Button type: Yes

A B C D E F G H I J L M N O P R S T V W Y