ZIP file – Password protection using UNIX command.

I want to protect zip file with password with the help of UNIX script.
When I’m trying with the zip-p it gives me error message which says there are problems with encryption.
I want this facility to send mails with password protected zip file in the way of UNIX command.
Any help.
