|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jChatBox.Util.Decrypt
This class tranforms cipher text (OXW file) into PLAIN text.
Public Key (Modulus + Exponent) included.
Don't try to implement a "KeyGen", we used asymetric encryption ;-)
Field Summary | |
protected static byte[] |
dec_table
A static array that maps ASCII code points to a 6-bit integer, or -1 for an invalid code point. |
protected static char[] |
enc_table
A static array that maps 6-bit integers to a specific char. |
Constructor Summary | |
Decrypt(java.lang.String filename)
Constructor. |
Method Summary | |
java.lang.String |
getPlain()
Returns plain text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final char[] enc_table
protected static final byte[] dec_table
Constructor Detail |
public Decrypt(java.lang.String filename)
Method Detail |
public java.lang.String getPlain() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |