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 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.