| Modifier and Type | Field and Description |
|---|---|
| private 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 | |
| public int | getKeyLength()
Implements org. Get the length of the key in bytes. |
| public void | setKey(byte[]
the key key)Implements org. Set the encryption key used for encrypting and decrypting. |
| key | back to summary |
|---|---|
| private int key | |
| Fog | back to summary |
|---|---|
| public Fog() | |
| 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) | |
| getKeyLength | back to summary |
|---|---|
| public int getKeyLength() Implements org. Doc from org. Get the length of the key in bytes.
| |
| 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.
| |