| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private boolean | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private long | |
| private int[] | |
| private int | |
| private int | |
| private long | |
| private int | |
| public String | getAlgorithmName()
Implements org. |
| public int | getBlockSize()
Implements org. |
| 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. params)Implements org. |
| private void | |
| private int | |
| private int | |
| public int | processBlock(byte[]
the array containing the input data. in, int offset into the in array the data starts at. inOff, byte[] the array the output data will be copied into. out, int the offset into the out array the output will start at. outOff)Implements org. |
| public void | |
| private long | |
| private long |
| BLOCK_SIZE | back to summary |
|---|---|
| private final int BLOCK_SIZE | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| KC | back to summary |
|---|---|
| private static final int[] KC | |
| SS0 | back to summary |
|---|---|
| private static final int[] SS0 | |
| SS1 | back to summary |
|---|---|
| private static final int[] SS1 | |
| SS2 | back to summary |
|---|---|
| private static final int[] SS2 | |
| SS3 | back to summary |
|---|---|
| private static final int[] SS3 | |
| wKey | back to summary |
|---|---|
| private int[] wKey | |
| SEEDEngine | back to summary |
|---|---|
| public SEEDEngine() | |
| bytesToLong | back to summary |
|---|---|
| private long bytesToLong(byte[] src, int srcOff) | |
| createWorkingKey | back to summary |
|---|---|
| private int[] createWorkingKey(byte[] inKey) | |
| extractW0 | back to summary |
|---|---|
| private int extractW0(long lVal) | |
| extractW1 | back to summary |
|---|---|
| private int extractW1(long lVal) | |
| F | back to summary |
|---|---|
| private long F(int ki0, int ki1, long r) | |
| G | back to summary |
|---|---|
| private int G(int x) | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. Return the name of the algorithm the cipher implements.
| |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() Implements org. Doc from org. Return the block size for this cipher (in bytes).
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters params) throws IllegalArgumentException Implements org. Doc from org. Initialise the cipher.
| |
| longToBytes | back to summary |
|---|---|
| private void longToBytes(byte[] dest, int destOff, long value) | |
| phaseCalc1 | back to summary |
|---|---|
| private int phaseCalc1(int r0, int ki0, int r1, int ki1) | |
| phaseCalc2 | back to summary |
|---|---|
| private int phaseCalc2(int r0, int ki0, int r1, int ki1) | |
| processBlock | back to summary |
|---|---|
| public int processBlock(byte[] in, int inOff, byte[] out, int outOff) throws DataLengthException, IllegalStateException Implements org. Doc from org. Process one block of input from the array in and write it to the out array.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Reset the cipher. After resetting the cipher is in the same state as it was after the last init (if there was one). | |
| rotateLeft8 | back to summary |
|---|---|
| private long rotateLeft8(long x) | |
| rotateRight8 | back to summary |
|---|---|
| private long rotateRight8(long x) | |