public interface Cipher
| Modifier and Type | Interface and Description |
|---|---|
static class |
Cipher.Mode |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSize()
Retrieves the block size for this cipher
|
int |
getIVSize()
Retrieves the size of the initialization vector
|
void |
init(Cipher.Mode mode,
byte[] key,
byte[] iv)
Initialize the cipher for encryption or decryption with
the given private key and initialization vector
|
void |
update(byte[] input,
int inputOffset,
int inputLen)
Performs in-place encryption or decryption on the given data.
|
int getIVSize()
int getBlockSize()
void init(Cipher.Mode mode, byte[] key, byte[] iv) throws java.lang.Exception
mode - key - iv - java.lang.Exceptionvoid update(byte[] input,
int inputOffset,
int inputLen)
throws java.lang.Exception
input - inputOffset - inputLen - java.lang.ExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.