com.mindbright.security.cipher
Class ArcFour

java.lang.Object
  |
  +--com.mindbright.jce.crypto.CipherSpi
        |
        +--com.mindbright.security.cipher.ArcFour

public final class ArcFour
extends com.mindbright.jce.crypto.CipherSpi


Constructor Summary
ArcFour()
           
 
Method Summary
protected  int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
           
protected  int engineGetBlockSize()
           
protected  byte[] engineGetIV()
           
protected  int engineGetOutputSize(int inputLen)
           
protected  void engineInit(int opmode, com.mindbright.jca.security.Key key, com.mindbright.jca.security.spec.AlgorithmParameterSpec params, com.mindbright.jca.security.SecureRandom random)
           
protected  void engineInit(int opmode, com.mindbright.jca.security.Key key, com.mindbright.jca.security.SecureRandom random)
           
protected  void engineSetMode(java.lang.String mode)
           
protected  void engineSetPadding(java.lang.String padding)
           
 void initializeKey(byte[] key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcFour

public ArcFour()
Method Detail

engineDoFinal

protected int engineDoFinal(byte[] input,
                            int inputOffset,
                            int inputLen,
                            byte[] output,
                            int outputOffset)
Specified by:
engineDoFinal in class com.mindbright.jce.crypto.CipherSpi

initializeKey

public void initializeKey(byte[] key)

engineGetBlockSize

protected int engineGetBlockSize()
Specified by:
engineGetBlockSize in class com.mindbright.jce.crypto.CipherSpi

engineGetIV

protected byte[] engineGetIV()
Specified by:
engineGetIV in class com.mindbright.jce.crypto.CipherSpi

engineGetOutputSize

protected int engineGetOutputSize(int inputLen)
Specified by:
engineGetOutputSize in class com.mindbright.jce.crypto.CipherSpi

engineInit

protected void engineInit(int opmode,
                          com.mindbright.jca.security.Key key,
                          com.mindbright.jca.security.spec.AlgorithmParameterSpec params,
                          com.mindbright.jca.security.SecureRandom random)
                   throws com.mindbright.jca.security.InvalidKeyException
Specified by:
engineInit in class com.mindbright.jce.crypto.CipherSpi
com.mindbright.jca.security.InvalidKeyException

engineInit

protected void engineInit(int opmode,
                          com.mindbright.jca.security.Key key,
                          com.mindbright.jca.security.SecureRandom random)
                   throws com.mindbright.jca.security.InvalidKeyException
Specified by:
engineInit in class com.mindbright.jce.crypto.CipherSpi
com.mindbright.jca.security.InvalidKeyException

engineSetMode

protected void engineSetMode(java.lang.String mode)
Specified by:
engineSetMode in class com.mindbright.jce.crypto.CipherSpi

engineSetPadding

protected void engineSetPadding(java.lang.String padding)
Specified by:
engineSetPadding in class com.mindbright.jce.crypto.CipherSpi