I want to get CRC32 of string which contains binary data. I tried to use somethink like this:
binascii.crc32(binascii.a2b_uu(my_binary_string))
But it often throws exceptions for larger strings. Example content for my binary string:
my_binary_string = "0100101010..."
It can be really long. How can I do this ?
binascii.crc32(binascii.b2a_hex('10000101010101001'));Out[10]: 945985288