How to encrypt zip file

Some workplaces have tight restrictions on email attachments containing binaries. So, people in such environments request me to send the attachment by zipping up the suspicious files and encrypting it. Zip has had support for password protection for a long time so most receivers will be able to unzip the contents if you can provide the password you used for encrypting.

To create the zip files:

$ zip --password mypassword files to zip go here

Note that zip uses weak encryption. Use it only to get around the email servers, not for actually hiding data.

Tried with: Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.