identify checksum type?

PK superprad at
Mon Jun 29 19:47:27 EDT 2009

Given a checksum value, whats the best way to find out what type it is?

meaning. I can use hashlib module and compute a md5 or sha1 for a given data
etc..but given a checksum value say "d2bda52ee39249acc55a75a0f3566105" whats
the best way for me to identify if its a sha1 or md5 or anyother sum type
for that matter?

is there a nice way to do this in python?

~ PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list