Cipher.Mode
Constructor and Description |
---|
BaseCipher(int ivsize,
int bsize,
String algorithm,
String transformation) |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize() |
int |
getIVSize() |
void |
init(Cipher.Mode mode,
byte[] key,
byte[] iv)
Initialize the cipher for encryption or decryption with the given private key and initialization vector
|
void |
update(byte[] input,
int inputOffset,
int inputLen)
Performs in-place encryption or decryption on the given data.
|
public int getBlockSize()
getBlockSize
in interface Cipher
public int getIVSize()
public void init(Cipher.Mode mode, byte[] key, byte[] iv)
Cipher
public void update(byte[] input, int inputOffset, int inputLen)
Cipher
Copyright © 2009-2012. All Rights Reserved.