| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private int[] | |
| private int | |
| private boolean | |
| private byte[] | |
| private int[] | |
| private final int | |
| private final int | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAlgorithmName()
Implements org. |
| public void | init(boolean
whether or not we are for encryption. forEncryption, CipherParameters the parameters required to set up the cipher. params)Implements org. |
| private void | |
| private void | |
| 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 void | |
| public byte | returnByte(byte
the byte to be processed. in)Implements org. |
| private void |
| a | back to summary |
|---|---|
| private int a | |
| b | back to summary |
|---|---|
| private int b | |
| c | back to summary |
|---|---|
| private int c | |
| engineState | back to summary |
|---|---|
| private int[] engineState | |
| index | back to summary |
|---|---|
| private int index | |
| initialised | back to summary |
|---|---|
| private boolean initialised | |
| keyStream | back to summary |
|---|---|
| private byte[] keyStream | |
| results | back to summary |
|---|---|
| private int[] results | |
| sizeL | back to summary |
|---|---|
| private final int sizeL | |
| stateArraySize | back to summary |
|---|---|
| private final int stateArraySize | |
| workingKey | back to summary |
|---|---|
| private byte[] workingKey | |
| ISAACEngine | back to summary |
|---|---|
| public ISAACEngine() | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. Return the name of the algorithm the cipher implements.
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters params) Implements org. initialise an ISAAC cipher.
| |
| isaac | back to summary |
|---|---|
| private void isaac() | |
| mix | back to summary |
|---|---|
| private void mix(int[] x) | |
| processBytes | back to summary |
|---|---|
| public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) Implements org. Doc from org. process a block of bytes from in putting the result into out.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the cipher. This leaves it in the same state it was at after the last init (if there was one). | |
| returnByte | back to summary |
|---|---|
| public byte returnByte(byte in) Implements org. Doc from org. encrypt/decrypt a single byte returning the result.
| |
| setKey | back to summary |
|---|---|
| private void setKey(byte[] keyBytes) | |