|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.openstego.OpenStegoCrypto
This is the class for providing cryptography support to OpenStego.
| Constructor Summary | |
OpenStegoCrypto(String password)
Default constructor |
|
| Method Summary | |
byte[] |
decrypt(byte[] input)
Method to decrypt the data |
byte[] |
encrypt(byte[] input)
Method to encrypt the data |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OpenStegoCrypto(String password)
throws OpenStegoException
password - Password to use for encryption
OpenStegoException| Method Detail |
public byte[] encrypt(byte[] input)
throws OpenStegoException
input - Data to be encrypted
OpenStegoException
public byte[] decrypt(byte[] input)
throws OpenStegoException
input - Data to be decrypted
null if password is invalid)
OpenStegoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||