md5 for large files

Bob Ballard rballard_99 at yahoo.com
Tue Mar 4 13:55:18 EST 2003


You guys are great.  I just need a nudge in the right direction from time to
time.  thanks
Bob

"Skip Montanaro" <skip at pobox.com> wrote in message
news:mailman.1046800088.5929.python-list at python.org...
>
>     Bob> Can someone provide me with a snippet or pointer to usinging
Python
>     Bob> to verify the md5 value for a large file?  All examples I've seen
>     Bob> are for a small string.  I'm not yet using GPG for NT and I need
to
>     Bob> verify or generate md5 values for file xfers.
>
> How about the library reference manual section at:
>
>     http://www.python.org/doc/current/lib/module-md5.html
>
> The first example uses the .update() method.  Read your file in chunks and
> call .update(), then .digest() when you're through.
>
> Skip
>






More information about the Python-list mailing list