The encyrption was still valid, you just saw the file names within the archive. Sometimes, though I do not know if this is the reason in your case, the hidden files within Mac folders will confuse Windows OS.
How to Create a Computer File. In this Article: On Windows On Mac Using Program Menus Community Q&A This wikiHow teaches you how to create a new file, such as a document, on your computer. Windows users can create basic files from within File Explorer, but all computer users can create a new file from within the 'File' or 'New' menu in the program in which you want to create the file.
![How to make files on mac How to make files on mac](https://bluebellflora.files.wordpress.com/2015/03/finder.png)
The fact that it even mentions '.DS Store' suggests that these files are part of the package you made, and my not be compatible with Windows, which does not know what to do with.DS Store folders and other Mac metadata. As for zip products, you could try the free trial of WinZip, which also supports Mac. The file will be compatible with WinZip on the windows side for sure. (I am not affiliated with WinZip).
I realize your question was asked quite a while ago, but for the sake of future readers, I wanted to clarify a few things. First, as was pointed out, Google Drive didn’t crack your encrypted Zip file.
A little-known aspect of Zip files is that the table of contents of a Zip file is not encrypted. So, anyone can see the files contained in a zip and their unzipped sizes as well as other basic data. That’s probably not an issue since you are protecting the data not the file names. In your command line example, you use the backslash to escape (disable) the interpretation of special characters. You might find it easier to just double-quote the file names instead, such as: “My dog’s Christmas photo.jpg” Also, you can drag-and-drop files from a Finder window into Terminal and the names of the files will be pasted for you. My workflow is to type everything up to and including the double-quote before the command-line and drag-and-drop a file or directory if that’s easier than typing it manually, then type the closing double-quote.