MD5 checksum for a file ?

Michael Hudson mwh at python.net
Thu Jan 24 04:42:25 EST 2002


Courageous <jkraska at san.rr.com> writes:

> >Somebody have a sample script to make a md5 from a file or to check if the
> >md5 is equal ??
> 
> Somewhere on the net there is a C version of this that is really
> blazing fast. I used it a while back. Written directly on top of the
> RSA implementation or some such.

Well, the md5 module in Python seems to use the RSA code too...

I doubt it's the fastest way of computing md5's in the galaxy, but
it's probably no slouch.

Cheers,
M.

-- 
  "Also, does the simple algorithm you used in Cyclops have a name?"
  "Not officially, but it answers to "hey, dumb-ass!"
                       -- Neil Schemenauer and Tim Peters, 23 Feb 2001



More information about the Python-list mailing list