I am trying to generate some crc32 hashes, but it seems like zlib
and binascii
use the crc32b algorithm even though their respective functions are simply zlib.crc32
and binascii.crc32
. Are there any other python resources for hash generation that I can try? Interestingly, I have previously found that R's 'digest' package also implements crc32b with no mention of crc32.
Some examples of what I mean by CRC32 and CRC32b:
Here you can see both in the dropdown: http://www.md5calc.com/crc32
Here, CRC32b is on the right side: https://hash.online-convert.com/crc32-generator
Here is a php-centered discussion on the distiction: What is the difference between crc32 and crc32b?
Here we can see that python is implemeting CRC32b: How to calculate CRC32 with Python to match online results?
Thank you