First make your compressed zip file as per usual. Then use this command in Terminal:zip -e nameOfNewSafeFile.zip nameOfOldFile.zip
Terminal will ask for a password – this is the password you want to use on the new file, not your local user password.
Happy encrypting!