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, getAuthenticationTagSize, getCipherBlockSize, getCipherInstance, getIVSize, getKdfSize, getKeySize, getTransformation, init, initializeKeyData, resize, toString, update, updateAAD
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkSupported, update, updateAAD, updateWithAAD
public 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 BaseCipher
protected Cipher createCipherInstance(Cipher.Mode mode, byte[] key, byte[] iv) throws Exception
createCipherInstance
in class BaseCipher
Exception
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.