gnu.crypto.jce.cipher

Class ARCFourSpi

public class ARCFourSpi extends CipherSpi

The Service Provider Interface (SPI) for the ARCFOUR stream cipher.

Version: $Revision: 1.2 $

Constructor Summary
ARCFourSpi()
Method Summary
protected byte[]engineDoFinal(byte[] in, int offset, int length)
protected intengineDoFinal(byte[] in, int inOffset, int length, byte[] out, int outOffset)
protected intengineGetBlockSize()
protected byte[]engineGetIV()
protected intengineGetOutputSize(int in)
protected AlgorithmParametersengineGetParameters()
protected voidengineInit(int mode, Key key, SecureRandom r)
protected voidengineInit(int mode, Key key, AlgorithmParameterSpec p, SecureRandom r)
protected voidengineInit(int mode, Key key, AlgorithmParameters p, SecureRandom r)
protected voidengineSetMode(String s)
protected voidengineSetPadding(String s)
protected byte[]engineUpdate(byte[] in, int offset, int length)
protected intengineUpdate(byte[] in, int inOffset, int length, byte[] out, int outOffset)

Constructor Detail

ARCFourSpi

public ARCFourSpi()

Method Detail

engineDoFinal

protected byte[] engineDoFinal(byte[] in, int offset, int length)

engineDoFinal

protected int engineDoFinal(byte[] in, int inOffset, int length, byte[] out, int outOffset)

engineGetBlockSize

protected int engineGetBlockSize()

engineGetIV

protected byte[] engineGetIV()

engineGetOutputSize

protected int engineGetOutputSize(int in)

engineGetParameters

protected AlgorithmParameters engineGetParameters()

engineInit

protected void engineInit(int mode, Key key, SecureRandom r)

engineInit

protected void engineInit(int mode, Key key, AlgorithmParameterSpec p, SecureRandom r)

engineInit

protected void engineInit(int mode, Key key, AlgorithmParameters p, SecureRandom r)

engineSetMode

protected void engineSetMode(String s)

engineSetPadding

protected void engineSetPadding(String s)

engineUpdate

protected byte[] engineUpdate(byte[] in, int offset, int length)

engineUpdate

protected int engineUpdate(byte[] in, int inOffset, int length, byte[] out, int outOffset)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.