Class cryptiX.crypto.Rc4Cipher
All Packages Class Hierarchy This Package Previous Next Index
Class cryptiX.crypto.Rc4Cipher
java.lang.Object
|
+----cryptiX.crypto.CryptoUtils
|
+----cryptiX.crypto.Cipher
|
+----cryptiX.crypto.StreamCipher
|
+----cryptiX.crypto.Rc4Cipher
- public class Rc4Cipher
- extends StreamCipher
-
Rc4Cipher(byte[])
-
-
Rc4Cipher(String)
-
-
decrypt(byte)
-
-
decrypt(byte[])
- WP
Decrypt an array of bytes.
-
decrypt(byte[], int, byte[], int, int)
-
-
encrypt(byte)
-
-
encrypt(byte[])
- WP
Encrypt an array of bytes.
-
encrypt(byte[], int, byte[], int, int)
-
-
setKey(byte[])
-
Rc4Cipher
public Rc4Cipher(String keyStr)
Rc4Cipher
public Rc4Cipher(byte key[])
setKey
public void setKey(byte key[])
- Overrides:
- setKey in class Cipher
encrypt
public byte encrypt(byte clearText)
- Overrides:
- encrypt in class StreamCipher
decrypt
public byte decrypt(byte cipherText)
- Overrides:
- decrypt in class StreamCipher
encrypt
public void encrypt(byte clearText[],
int clearOff,
byte cipherText[],
int cipherOff,
int len)
- Overrides:
- encrypt in class StreamCipher
encrypt
public byte[] encrypt(byte clearText[])
- WP
Encrypt an array of bytes.
decrypt
public void decrypt(byte cipherText[],
int cipherOff,
byte clearText[],
int clearOff,
int len)
- Overrides:
- decrypt in class StreamCipher
decrypt
public byte[] decrypt(byte cipherText[])
- WP
Decrypt an array of bytes.
All Packages Class Hierarchy This Package Previous Next Index