public class CBCMode extends Object implements BlockCipher
Constructor and Description |
---|
CBCMode(BlockCipher tc,
byte[] iv,
boolean doEncrypt) |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize() |
void |
init(boolean forEncryption,
byte[] key) |
void |
transformBlock(byte[] src,
int srcoff,
byte[] dst,
int dstoff) |
public CBCMode(BlockCipher tc, byte[] iv, boolean doEncrypt) throws IllegalArgumentException
IllegalArgumentException
public void init(boolean forEncryption, byte[] key)
init
in interface BlockCipher
public int getBlockSize()
getBlockSize
in interface BlockCipher
public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff)
transformBlock
in interface BlockCipher
Copyright © 2014. All rights reserved.