pad = PadFactory.getInstance(padName);
pad.reset();
pad.init(16);
byte[] padding = pad.pad(pt, 0, pt.length);
System.arraycopy(padding, 0, ppt, 42, padding.length);
attrib.put(IMode.STATE, new Integer(IMode.ENCRYPTION));
gnu.reset();
gnu.init(attrib);
for (int i = 0; i < ppt.length; i += 16)