python获取crc32

import zlib
post_id = "65fe4882de661f4a6e25391c790b6b86"
post_id_crc32= zlib.crc32(post_id.encode("utf-8"))
print(post_id_crc32)
# 3217366125

  

 

posted @ 2019-04-13 15:42  Adamanter  阅读(3156)  评论(0编辑  收藏  举报