| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | decrypt(byte[]
the byte array bytes, int the start index off, int the number of bytes to decrypt len)Implements org. Decrypt a number of bytes. |
| private void | |
| public void | encrypt(byte[]
the byte array bytes, int the start index off, int the number of bytes to encrypt len)Implements org. Encrypt a number of bytes. |
| private void | |
| private static int | |
| public int | getKeyLength()
Implements org. Get the length of the key in bytes. |
| private static int | |
| private static int | |
| public void | setKey(byte[]
the key key)Implements org. Set the encryption key used for encrypting and decrypting. |
| private static int |
| decKey | back to summary |
|---|---|
| private final int[] decKey | |
| encKey | back to summary |
|---|---|
| private final int[] encKey | |
| FS | back to summary |
|---|---|
| private static final int[] FS | |
| FT0 | back to summary |
|---|---|
| private static final int[] FT0 | |
| FT1 | back to summary |
|---|---|
| private static final int[] FT1 | |
| FT2 | back to summary |
|---|---|
| private static final int[] FT2 | |
| FT3 | back to summary |
|---|---|
| private static final int[] FT3 | |
| RCON | back to summary |
|---|---|
| private static final int[] RCON | |
| RS | back to summary |
|---|---|
| private static final int[] RS | |
| RT0 | back to summary |
|---|---|
| private static final int[] RT0 | |
| RT1 | back to summary |
|---|---|
| private static final int[] RT1 | |
| RT2 | back to summary |
|---|---|
| private static final int[] RT2 | |
| RT3 | back to summary |
|---|---|
| private static final int[] RT3 | |
| AES | back to summary |
|---|---|
| public AES() | |
| decrypt | back to summary |
|---|---|
| public void decrypt(byte[] bytes, int off, int len) Implements org. Doc from org. Decrypt a number of bytes. This is done in-place, that means the bytes are overwritten.
| |
| decryptBlock | back to summary |
|---|---|
| private void decryptBlock(byte[] in, byte[] out, int off) | |
| encrypt | back to summary |
|---|---|
| public void encrypt(byte[] bytes, int off, int len) Implements org. Doc from org. Encrypt a number of bytes. This is done in-place, that means the bytes are overwritten.
| |
| encryptBlock | back to summary |
|---|---|
| private void encryptBlock(byte[] in, byte[] out, int off) | |
| getDec | back to summary |
|---|---|
| private static int getDec(int t) | |
| getKeyLength | back to summary |
|---|---|
| public int getKeyLength() Implements org. Doc from org. Get the length of the key in bytes.
| |
| mul | back to summary |
|---|---|
| private static int mul(int[] pow, int[] log, int x, int y) | |
| rot8 | back to summary |
|---|---|
| private static int rot8(int x) | |
| setKey | back to summary |
|---|---|
| public void setKey(byte[] key) Implements org. Doc from org. Set the encryption key used for encrypting and decrypting. The key needs to be 16 bytes long.
| |
| xtime | back to summary |
|---|---|
| private static int xtime(int x) | |