public class Camellia extends Object
| Constructor and Description |
|---|
Camellia() |
| Modifier and Type | Method and Description |
|---|---|
void |
cbcDec(byte[] data,
int offset,
int blocksNum,
byte[] cipherState)
CBC encrypt nblocks blocks of data in place, using and updating iv.
|
void |
cbcEnc(byte[] data,
int offset,
int blocksNum,
byte[] cipherState)
CBC encrypt nblocks blocks of data in place, using and updating iv.
|
void |
decrypt(byte[] data,
byte[] iv) |
void |
encrypt(byte[] data,
byte[] iv) |
void |
processBlock(byte[] in,
int inOff) |
void |
setKey(boolean forEncryption,
byte[] key) |
public void setKey(boolean forEncryption,
byte[] key)
public void processBlock(byte[] in,
int inOff)
public void encrypt(byte[] data,
byte[] iv)
public void decrypt(byte[] data,
byte[] iv)
public void cbcEnc(byte[] data,
int offset,
int blocksNum,
byte[] cipherState)
data - The dataoffset - The offsetblocksNum - The block numbercipherState - The cipher statepublic void cbcDec(byte[] data,
int offset,
int blocksNum,
byte[] cipherState)
data - The dataoffset - The offsetblocksNum - The block numbercipherState - The cipher stateCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.