public class OpenStegoCrypto
extends java.lang.Object
| Constructor and Description |
|---|
OpenStegoCrypto(java.lang.String password)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] input)
Method to decrypt the data
|
byte[] |
encrypt(byte[] input)
Method to encrypt the data
|
public OpenStegoCrypto(java.lang.String password)
throws OpenStegoException
password - Password to use for encryptionOpenStegoExceptionpublic byte[] encrypt(byte[] input)
throws OpenStegoException
input - Data to be encryptedOpenStegoExceptionpublic byte[] decrypt(byte[] input)
throws OpenStegoException
input - Data to be decryptednull if password is invalid)OpenStegoExceptionCopyright © 2007-2009 Samir Vaidya. All Rights Reserved.