public class BaseRC4Cipher extends BaseCipher
Cipher.Mode
Modifier and Type | Field and Description |
---|---|
static int |
SKIP_SIZE |
algorithm, bsize, cipher, ivsize, transformation
Constructor and Description |
---|
BaseRC4Cipher(int ivsize,
int bsize) |
Modifier and Type | Method and Description |
---|---|
void |
init(Cipher.Mode mode,
byte[] key,
byte[] iv)
Initialize the cipher for encryption or decryption with
the given private key and initialization vector
|
getBlockSize, getIVSize, resize, update
public static final int SKIP_SIZE
public void init(Cipher.Mode mode, byte[] key, byte[] iv) throws Exception
Cipher
init
in interface Cipher
init
in class BaseCipher
Exception
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.