public class OpenStegoCrypto
extends java.lang.Object
Constructor and Description |
---|
OpenStegoCrypto(java.lang.String password)
Default constructor
|
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.