RosettaCodeData/Task/CRC-32/Python/crc-32-1.py

4 lines
96 B
Python

>>> import zlib
>>> hex(zlib.crc32('The quick brown fox jumps over the lazy dog'))
'0x414fa339'