<p>There is a standard for encrypting entire zip files. And I was looking at the zip docs the other day and zipfile can already decrypt but not encrypt (assuming my memory is accurate; doing this from my phone on vacation).</p>
<p><blockquote type="cite">On Aug 23, 2009 2:10 PM, "Guido van Rossum" <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<br><br><p><font color="#500050">On Sun, Aug 23, 2009 at 9:09 AM, Shashank
Singh<<a href="mailto:shashank.sunny.singh@gmail.com">shashank.sunny.singh@gmail.com</a>> wrote:
> There is an...</font></p>MvL already asked for a patch so I suppose that means he thinks it's<br>
useful. Personally I've never encountered an encrypted zipfile, so I<br>
just have questions: is there a standard encryption algorithm? What is<br>
encrypted? The entire file or individual members? How are you supposed<br>
to give the password? Also, I suppose there could be (US) export<br>
problems with the code, so it would have to be optional (and we might<br>
not be able to build it into binaries we distribute from <a href="http://python.org" target="_blank">python.org</a>).<br>
<font color="#888888"><br>
--<br>
--Guido van Rossum (home page: <a href="http://www.python.org/~guido/" target="_blank">http://www.python.org/~guido/</a>)<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/brett%40python.org" target="_blank">http://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</font></blockquote></p>