public static class DES.CBC extends java.lang.Object implements BlockCipher
| Modifier and Type | Field and Description |
|---|---|
protected BlockCipher |
bc |
| Constructor and Description |
|---|
CBC() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSize() |
void |
init(boolean forEncryption,
byte[] key,
byte[] iv) |
void |
transformBlock(byte[] src,
int srcoff,
byte[] dst,
int dstoff) |
protected BlockCipher bc
public void init(boolean forEncryption,
byte[] key,
byte[] iv)
throws java.lang.IllegalArgumentException
init in interface BlockCipherjava.lang.IllegalArgumentExceptionpublic int getBlockSize()
getBlockSize in interface BlockCipherpublic void transformBlock(byte[] src,
int srcoff,
byte[] dst,
int dstoff)
transformBlock in interface BlockCipher