eclipseme.core.model.impl
Class RC4Engine

java.lang.Object
  extended byeclipseme.core.model.impl.RC4Engine

public class RC4Engine
extends java.lang.Object

RC4 engine implementation.
Original source code was from Bouncy Castle.
Copyright (c) 2000 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)


Constructor Summary
RC4Engine()
           
 
Method Summary
 void processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
           
 void reset()
           
 byte returnByte(byte in)
           
 void setKey(byte[] keyBytes)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RC4Engine

public RC4Engine()
Method Detail

returnByte

public byte returnByte(byte in)

processBytes

public void processBytes(byte[] in,
                         int inOff,
                         int len,
                         byte[] out,
                         int outOff)

reset

public void reset()

setKey

public void setKey(byte[] keyBytes)