final TripleDESDecryptorEngine decryptorEngine =
new TripleDESDecryptorEngine(key);
// Create the unformatter engine that will remove any of the
// padding bytes.
final PKCS5UnformatterEngine unformatterEngine =
new PKCS5UnformatterEngine(decryptorEngine);
// Set up an input stream to hand the encrypted data to the
// block decryptor.
final ByteArrayInputStream inputStream =
new ByteArrayInputStream(encryptedData);