// We are now going to perform the decryption. We want to ensure
// that the message we get back is the same as the original. Note
// that since this is a symmetric algorithm we want to use the same
// key as was used for encryption.
final TripleDESDecryptorEngine decryptorEngine =
new TripleDESDecryptorEngine(key);
// Create the unformatter engine that will remove any of the
// padding bytes.
final PKCS5UnformatterEngine unformatterEngine =
new PKCS5UnformatterEngine(decryptorEngine);