public class ArcFour extends AbstractJCECipher
DECRYPT_MODE, ENCRYPT_MODE
Constructor and Description |
---|
ArcFour() |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize()
Get the cipher block size.
|
void |
init(int mode,
byte[] iv,
byte[] keydata)
Initialize the cipher with up to 40 bytes of iv and key data.
|
createCipher, generateAlgorithmSpec, generateSecretKeySpec, getKeyLength, getProvider, getProviderName, transform
getAlgorithm, getMacLength, getPriority, getSecurityLevel, isMAC, transform
public ArcFour() throws IOException
IOException
public void init(int mode, byte[] iv, byte[] keydata) throws IOException
SshCipher
init
in class AbstractJCECipher
mode
- the mode to operateiv
- the initiaization vectorkeydata
- the key dataIOException
public int getBlockSize()
SshCipher
getBlockSize
in class AbstractJCECipher
Copyright © 2024. All rights reserved.