How Can I Encrypt and Compress My Files to Keep Them Safe?

I need to send a set of important project files to a partner. To ensure the security of the files, I’ve decided to encrypt and compress them with a password, so only my partner can access them. How can I do that?

Have you heard of iBoysoft MagicMenu, a professional right-click extension tool? It offers a very convenient compression feature, allowing you to encrypt and compress files simply by right-clicking on them without the need to use the command line.

  1. Download iBoysoft MagicMenu

  2. Find Utility in the main interface, and click the download button near the Compress to your right-click.

  3. Right click the target file and click Compress.

  4. Enter the password in the pop-up window to encrypt the file.

  5. Click Compress to finish the process.

It’s so easy to compress a file with a password!

macOS’s built-in compression feature does not directly support encrypting files (via the graphical interface), but if you want to encrypt and compress files, you need to use Terminal. Here are the steps:

  1. Open Terminal.
  2. Use the zip command with the -e option to encrypt and compress the file. filename.zip is the name you want to give to the compressed archive, and /path/to/your/file is the file path you want to compress:
    zip -e filename.zip /path/to/your/file
  3. The system will prompt you to enter and confirm a password, after which the file will be compressed and encrypted.