AES128CBC
, AES128CTR
, AES192CBC
, AES192CTR
, AES256CBC
, AES256CTR
, ARCFOUR
, ARCFOUR128
, ARCFOUR256
, BlowfishCBC
, CipherNone
, TripleDESCBC
, TripleDESCTR
public interface Cipher
Modifier and Type | Field | Description |
---|---|---|
static int |
DECRYPT_MODE |
|
static int |
ENCRYPT_MODE |
Modifier and Type | Method | Description |
---|---|---|
int |
getBlockSize() |
|
int |
getIVSize() |
|
void |
init(int mode,
byte[] key,
byte[] iv) |
|
boolean |
isCBC() |
|
void |
update(byte[] foo,
int s1,
int len,
byte[] bar,
int s2) |
static final int ENCRYPT_MODE
static final int DECRYPT_MODE
int getIVSize()
int getBlockSize()
void init(int mode, byte[] key, byte[] iv) throws java.lang.Exception
java.lang.Exception
void update(byte[] foo, int s1, int len, byte[] bar, int s2) throws java.lang.Exception
java.lang.Exception
boolean isCBC()