|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--trex.Algo.StegoAlgo
|
+--trex.Algo.StegoAlgoRGB
|
+--trex.Algo.StegoAlgoLSB
This class implements the LSB Steganography Algorithm. Data is split into bits; the picture's red, green and blue share each carry one bit of data in each pixel.
| Nested Class Summary | |
protected class |
StegoAlgoLSB.LSBDecryptFilter
LSBDecryptFilter is the decrypt filter for the LSB algorithm. |
protected class |
StegoAlgoLSB.LSBEncryptFilter
LSBEncryptFilter is the encrypt filter for the LSB algorithm. |
| Field Summary |
| Fields inherited from class trex.Algo.StegoAlgo |
passPhrase |
| Constructor Summary | |
StegoAlgoLSB()
|
|
| Method Summary | |
Component |
getConfigDialog()
LSB does not have a config dialog - returns null. |
protected TRexFilterRGB |
getDecryptFilter(int w,
int h)
Return a decrypt filter for this algorithm. |
protected TRexFilterRGB |
getEncryptFilter(String data,
int w,
int h)
Return an encrypt filter for this algorithm. |
String |
getInfo()
Return an info string about this algorithm. |
boolean |
hasConfigDialog()
Return whether this algorithm has a config dialog. |
boolean |
hasPassPhrase()
Return whether this algorithm needs a pass phrase. |
boolean |
pictureLargeEnough(ImageIcon img,
String data)
Return whether the passed picture is large enough to carry the data |
boolean |
validConfig()
Return whether the config setup in the setup/passphrase dialog is valid. |
| Methods inherited from class trex.Algo.StegoAlgoRGB |
defaultAmplification, getDecrypted, getEncrypted |
| Methods inherited from class trex.Algo.StegoAlgo |
setPassPhrase |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StegoAlgoLSB()
| Method Detail |
public boolean validConfig()
validConfig in class StegoAlgopublic boolean hasPassPhrase()
hasPassPhrase in class StegoAlgopublic boolean hasConfigDialog()
hasConfigDialog in class StegoAlgopublic Component getConfigDialog()
null.
getConfigDialog in class StegoAlgoStegoAlgo.hasConfigDialog(),
StegoAlgo.hasPassPhrase()public String getInfo()
getInfo in class StegoAlgo
public boolean pictureLargeEnough(ImageIcon img,
String data)
pictureLargeEnough in class StegoAlgoimg - Image to hide data indata - data to hide
img is large enough to carry data.
protected TRexFilterRGB getDecryptFilter(int w,
int h)
StegoAlgoRGB.getDecrypted(javax.swing.ImageIcon).
getDecryptFilter in class StegoAlgoRGBw - Picture's widthh - Picture's height
ImageFilter that does all the work.
protected TRexFilterRGB getEncryptFilter(String data,
int w,
int h)
StegoAlgoRGB.getDecrypted(javax.swing.ImageIcon).
getEncryptFilter in class StegoAlgoRGBdata - Data to hide while filteringw - Picture's widthh - Picture's height
ImageFilter that does all the work.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||