| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| private boolean | |
| pack-priv static short[] | |
| private int[] | |
| private int[] | |
| private int[] | |
| private int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| private int | |
| public String | getAlgorithmName()
Implements org. |
| public int | getBlockSize()
Implements org. |
| private CryptoServicePurpose | |
| private int | |
| public void | init(boolean
whether or not we are for encryption. encrypting, CipherParameters the parameters required to set up the cipher. params)Implements org. |
| 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 |
| BLOCK_SIZE | back to summary |
|---|---|
| pack-priv static final int BLOCK_SIZE | |
| encrypting | back to summary |
|---|---|
| private boolean encrypting | |
| ftable | back to summary |
|---|---|
| pack-priv static short[] ftable | |
| key0 | back to summary |
|---|---|
| private int[] key0 | |
| key1 | back to summary |
|---|---|
| private int[] key1 | |
| key2 | back to summary |
|---|---|
| private int[] key2 | |
| key3 | back to summary |
|---|---|
| private int[] key3 | |
| SkipjackEngine | back to summary |
|---|---|
| public SkipjackEngine() | |
| decryptBlock | back to summary |
|---|---|
| public int decryptBlock(byte[] in, int inOff, byte[] out, int outOff) | |
| encryptBlock | back to summary |
|---|---|
| public int encryptBlock(byte[] in, int inOff, byte[] out, int outOff) | |
| g | back to summary |
|---|---|
| private int g(int k, int w) The G permutation | |
| 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).
| |
| getPurpose | back to summary |
|---|---|
| private CryptoServicePurpose getPurpose() | |
| h | back to summary |
|---|---|
| private int h(int k, int w) the inverse of the G permutation. | |
| init | back to summary |
|---|---|
| public void init(boolean encrypting, CipherParameters params) Implements org. initialise a SKIPJACK cipher.
| |
| processBlock | back to summary |
|---|---|
| public int processBlock(byte[] in, int inOff, byte[] out, int outOff) 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). | |