{
if (modeName.equalsIgnoreCase("PGPCFBwithIV"))
{
ivLength = baseEngine.getBlockSize();
cipher = new PaddedBufferedBlockCipher(
new PGPCFBBlockCipher(baseEngine, true));
}
else
{
ivLength = baseEngine.getBlockSize();
cipher = new PaddedBufferedBlockCipher(
new PGPCFBBlockCipher(baseEngine, false));
}
}
else if (modeName.equalsIgnoreCase("OpenPGPCFB"))
{
ivLength = 0;