To create an encrypted archive:

Drag in the files you want to archive.

If you dragged in only one file (not a folder) choose Create Archive.

Type the filename of your archive in the Name box.

From the Archive pop-up menu choose either zip or 7z (see below if you are unsure which to use).

Select “Use Password”.

Enter your password twice.

Click Create.