public class BaseRC4Cipher extends BaseCipher
Cipher.Mode| Modifier and Type | Field and Description |
|---|---|
static int |
SKIP_SIZE |
| Constructor and Description |
|---|
BaseRC4Cipher(int ivsize,
int kdfSize,
int keySize,
int blkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected Cipher |
createCipherInstance(Cipher.Mode mode,
byte[] key,
byte[] iv) |
protected byte[] |
initializeIVData(Cipher.Mode mode,
byte[] iv,
int reqLen) |
getAlgorithm, getCipherBlockSize, getCipherInstance, getIVSize, getKdfSize, getKeySize, getTransformation, init, initializeKeyData, resize, toString, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckSupported, updatepublic static final int SKIP_SIZE
public BaseRC4Cipher(int ivsize,
int kdfSize,
int keySize,
int blkSize)
protected byte[] initializeIVData(Cipher.Mode mode, byte[] iv, int reqLen)
initializeIVData in class BaseCipherprotected Cipher createCipherInstance(Cipher.Mode mode, byte[] key, byte[] iv) throws Exception
createCipherInstance in class BaseCipherExceptionCopyright © 2018–2020 The Apache Software Foundation. All rights reserved.