Generate message data for signature or encryption (never use 7bit or 8bit encoding)