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 encryptionOpenStegoException
public byte[] encrypt(byte[] input) throws OpenStegoException
input
- Data to be encryptedOpenStegoException
public byte[] decrypt(byte[] input) throws OpenStegoException
input
- Data to be decryptednull
if password is invalid)OpenStegoException
Copyright © 2007-2009 Samir Vaidya. All Rights Reserved.