Refactored OpenPGP Encrypt methods to share compression and encryption code