| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGN
Blocks sizes are always multiples of this number. |
| 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)Decrypt a number of bytes. |
| public void | encrypt(byte[]
the byte array bytes, int the start index off, int the number of bytes to encrypt len)Encrypt a number of bytes. |
| public int | |
| public void |
| ALIGN | back to summary |
|---|---|
| public static final int ALIGN Blocks sizes are always multiples of this number. | |
| decrypt | back to summary |
|---|---|
| public void decrypt(byte[] bytes, int off, int len) Decrypt a number of bytes. This is done in-place, that means the bytes are overwritten.
| |
| encrypt | back to summary |
|---|---|
| public void encrypt(byte[] bytes, int off, int len) Encrypt a number of bytes. This is done in-place, that means the bytes are overwritten.
| |
| getKeyLength | back to summary |
|---|---|
| public int getKeyLength() Get the length of the key in bytes.
| |
| setKey | back to summary |
|---|---|
| public void setKey(byte[] key) Set the encryption key used for encrypting and decrypting. The key needs to be 16 bytes long.
| |