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

4 lines
104 B
Python

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