com.lowagie.text.pdf.crypto

Class RC4Encryption

public class RC4Encryption extends Object

Field Summary
byte[]state
intx
inty
Constructor Summary
RC4Encryption()
Creates a new instance of RC4Encryption
Method Summary
voidencryptRC4(byte[] dataIn, int off, int len, byte[] dataOut, int offOut)
voidencryptRC4(byte[] data, int off, int len)
voidencryptRC4(byte[] dataIn, byte[] dataOut)
voidencryptRC4(byte[] data)
voidprepareRC4Key(byte[] key)
voidprepareRC4Key(byte[] key, int off, int len)

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

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)

prepareRC4Key

public void prepareRC4Key(byte[] key)

prepareRC4Key

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