| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: maximum size for an input block.returns the largest size an input block can be. |
| public int | Returns: maximum size of the output block produced by the cipher.returns the maximum size of the block produced by this cipher. |
| public void | init(boolean
if true the cipher is initialised for
encryption, if false for decryption. forEncryption, CipherParameters the key and other data required by the cipher. param)initialise the cipher. |
| public byte[] | Returns: the resulting byte array of the encryption/decryption process.the input data in, int offset into the in array where the data starts inOff, int the length of the block to be processed. len)process the block of len bytes stored in in from offset inOff. |
| getInputBlockSize | back to summary |
|---|---|
| public int getInputBlockSize() returns the largest size an input block can be.
| |
| getOutputBlockSize | back to summary |
|---|---|
| public int getOutputBlockSize() returns the maximum size of the block produced by this cipher.
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters param) initialise the cipher.
| |
| processBlock | back to summary |
|---|---|
| public byte[] processBlock(byte[] in, int inOff, int len) throws InvalidCipherTextException process the block of len bytes stored in in from offset inOff.
| |