random = new SecureRandom();
}
c.init(true, new ParametersWithRandom(key, random));
return c.processBlock(sessionInfo, 0, sessionInfo.length);
}
catch (InvalidCipherTextException e)
{
throw new PGPException("exception encrypting session info: " + e.getMessage(), e);
}