| Modifier and Type | Field and Description |
|---|---|
| private final BlockCipher |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract byte | |
| public BlockCipher | Returns: the underlying block cipher that we are wrapping.return the underlying block cipher that we are wrapping. |
| public int | processBytes(byte[]
the input byte array. in, int the offset into the in array where the data to be processed starts. inOff, int the number of bytes to be processed. len, byte[] the output buffer the processed bytes go into. out, int the offset into the output byte array the processed data starts at. outOff)Implements org. |
| public final byte | returnByte(byte
the byte to be processed. in)Implements org. |
| cipher | back to summary |
|---|---|
| private final BlockCipher cipher | |
| StreamBlockCipher | back to summary |
|---|---|
| protected StreamBlockCipher(BlockCipher cipher) | |
| calculateByte | back to summary |
|---|---|
| protected abstract byte calculateByte(byte b) | |
| getUnderlyingCipher | back to summary |
|---|---|
| public BlockCipher getUnderlyingCipher() return the underlying block cipher that we are wrapping.
| |
| processBytes | back to summary |
|---|---|
| public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) throws DataLengthException Implements org. Doc from org. process a block of bytes from in putting the result into out.
| |
| returnByte | back to summary |
|---|---|
| public final byte returnByte(byte in) Implements org. Doc from org. encrypt/decrypt a single byte returning the result.
| |