Serpent was designed by Ross Anderson, Eli Biham and Lars Knudsen as a candidate algorithm for the NIST AES Quest.
For full details see The Serpent home page
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | decryptBlock(byte[]
the array containing the input data. input, int offset into the in array the data starts at. inOff, byte[] the array the output data will be copied into. output, int the offset into the out array the output will start at. outOff)Implements abstract org. |
| protected void | encryptBlock(byte[]
the array containing the input data. input, int offset into the in array the data starts at. inOff, byte[] the array the output data will be copied into. output, int the offset into the out array the output will start at. outOff)Implements abstract org. |
| protected int[] | makeWorkingKey(byte[]
The user-key bytes (multiples of 4) to use. key)Implements abstract org. |
| SerpentEngine | back to summary |
|---|---|
| pack-priv SerpentEngine() | |
| decryptBlock | back to summary |
|---|---|
| protected void decryptBlock(byte[] input, int inOff, byte[] output, int outOff) Implements abstract org. Decrypt one block of ciphertext.
| |
| encryptBlock | back to summary |
|---|---|
| protected void encryptBlock(byte[] input, int inOff, byte[] output, int outOff) Implements abstract org. Encrypt one block of plaintext.
| |
| makeWorkingKey | back to summary |
|---|---|
| protected int[] makeWorkingKey(byte[] key) throws IllegalArgumentException Implements abstract org. Expand a user-supplied key material into a session key.
| |