com.lowagie.text.pdf.crypto
Class RC4Encryption

java.lang.Object
  extended bycom.lowagie.text.pdf.crypto.RC4Encryption

public class RC4Encryption
extends Object


Field Summary
private  byte[] state
           
private  int x
           
private  int y
           
 
Constructor Summary
RC4Encryption()
          Creates a new instance of RC4Encryption
 
Method Summary
 void encryptRC4(byte[] data)
           
 void encryptRC4(byte[] dataIn, byte[] dataOut)
           
 void encryptRC4(byte[] data, int off, int len)
           
 void encryptRC4(byte[] dataIn, int off, int len, byte[] dataOut, int offOut)
           
 void prepareRC4Key(byte[] key)
           
 void prepareRC4Key(byte[] key, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

private byte[] state

x

private int x

y

private int y
Constructor Detail

RC4Encryption

public RC4Encryption()
Creates a new instance of RC4Encryption

Method Detail

prepareRC4Key

public void prepareRC4Key(byte[] key)

prepareRC4Key

public void prepareRC4Key(byte[] key,
                          int off,
                          int len)

encryptRC4

public void encryptRC4(byte[] dataIn,
                       int off,
                       int len,
                       byte[] dataOut,
                       int offOut)

encryptRC4

public void encryptRC4(byte[] data,
                       int off,
                       int len)

encryptRC4

public void encryptRC4(byte[] dataIn,
                       byte[] dataOut)

encryptRC4

public void encryptRC4(byte[] data)