How to Set a Zip Password in Mac OS X
You can create password protected archives of files and folders:
Launch the Terminal from the Applications > Utilities folder Type the following command:
zip -e archive.zip file2protect.txt
Your file is now encrypted with the password you typed.
If you plan on compressing multiple files within a folder:
zip -er archive.zip /path/directory/