| cryptix.jce.provider.cipher.BlockCipher cryptix.jce.provider.cipher.Serpent
Serpent | final public class Serpent extends BlockCipher (Code) | | A bit-slice implementation in Java of the Serpent cipher.
Serpent is a 128-bit 32-round block cipher with variable key lengths,
including 128-, 192- and 256-bit
keys conjectured to be at least as secure as three-key triple-DES.
Serpent was designed by Ross Anderson, Eli Biham and Lars Knudsen as a
candidate algorithm for the NIST AES Quest.
References:
- Serpent: A New Block Cipher Proposal. This paper was published in the
proceedings of the "Fast Software Encryption Workshop No. 5" held in
Paris in March 1998. LNCS, Springer Verlag.
- Reference implementation of the standard Serpent cipher written in C
by Frank Stajano.
version: $Revision: 1.1 $ author: Jeroen C. van Gelderen (gelderen@cryptix.org) author: Raif S. Naffah author: Serpent authors (Ross Anderson, Eli Biham and Lars Knudsen) |
Constructor Summary | |
public | Serpent() |
Method Summary | |
protected void | coreCrypt(byte[] in, int inOffset, byte[] out, int outOffset) | protected void | coreInit(Key key, boolean decrypt) |
coreCrypt | protected void coreCrypt(byte[] in, int inOffset, byte[] out, int outOffset)(Code) | | |
Methods inherited from cryptix.jce.provider.cipher.BlockCipher | final public Object clone() throws CloneNotSupportedException(Code)(Java Doc) abstract void coreCrypt(byte[] in, int inOffset, byte[] out, int outOffset)(Code)(Java Doc) int coreGetBlockSize()(Code)(Java Doc) abstract void coreInit(Key key, boolean decrypt) throws InvalidKeyException(Code)(Java Doc) final protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws ShortBufferException, IllegalBlockSizeException, BadPaddingException(Code)(Java Doc) final protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) throws IllegalBlockSizeException, BadPaddingException(Code)(Java Doc) final protected int engineGetBlockSize()(Code)(Java Doc) final protected byte[] engineGetIV()(Code)(Java Doc) protected int engineGetKeySize(Key key) throws InvalidKeyException(Code)(Java Doc) final protected int engineGetOutputSize(int inputLen)(Code)(Java Doc) final protected AlgorithmParameters engineGetParameters()(Code)(Java Doc) final protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException(Code)(Java Doc) final protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException(Code)(Java Doc) final protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException(Code)(Java Doc) final protected void engineSetMode(String mode) throws NoSuchAlgorithmException(Code)(Java Doc) final protected void engineSetPadding(String padding) throws NoSuchPaddingException(Code)(Java Doc) final protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws ShortBufferException(Code)(Java Doc) final protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen)(Code)(Java Doc)
|
|
|