CRC-module

Fredrik Lundh fredrik at pythonware.com
Mon Nov 22 16:21:04 CET 1999


Thomas Weholt <thomas at bibsyst.no> wrote:
> Is there a crc-module or an easy way to compute crc-values from files? I
> want to store these values in a database to check ftp-sites, cd-roms
> etc. to see if there are updated version or new files etc. ?

here's a few:

    zlib.crc32 (32-bit checksum)
    zlib.adler32 (32-bit checksum)
    md5 (128-bit digest)
    sha (160-bit digest)

see the library reference (or the eff-bot
guide) for more info.

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->





More information about the Python-list mailing list