public class ArcFour128 extends AbstractJCECipher
DECRYPT_MODE, ENCRYPT_MODE
Constructor and Description |
---|
ArcFour128() |
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 ArcFour128() 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.