Python 3:CRC32


#Python 笔记


Python 3 实现:

from zlib import crc32

s = 'hello world'
print( crc32(s.encode('utf-8')) )

运行结果为:

222957957


( 本文完 )