@License public abstract class Encryptor extends CryptoService
| Constructor and Description |
|---|
Encryptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
encrypt(byte[] plaintext)
Encrypts the given byte array, returning the encrypted bytes.
|
abstract boolean |
initialise(Object... parameters)
Initialises the class with a set of (optional) parameters.
|
public abstract boolean initialise(Object... parameters) throws CryptoException
parameters - a set of optional parameters.CryptoExceptionpublic abstract byte[] encrypt(byte[] plaintext)
throws CryptoException
plaintext - the plain text data to be encrypted.CryptoExceptionCopyright © 2012-2014 Andrea Funtò. See here for terms and conditions.