|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.openstego.OpenStegoCrypto
public class OpenStegoCrypto
This is the class for providing cryptography support to OpenStego.
Constructor Summary | |
---|---|
OpenStegoCrypto(java.lang.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(java.lang.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 |