Skip to content Skip to sidebar Skip to footer

Compute A CRC32C (Castagnoli) Which Uses The Generator Polynomial 1EDC6F41h Following Rocksoft Model CRC Algorithm In Python

I did explore Crcmod python library but couldnt use it as my gen poly- 0x1EDC6F41 is not considered a 32 bit poly :( Is there a way to tweak it or any other python lib that I can

Solution 1:

Usually CRC polynomials are specified without the most significant bit, which is always 1. But it looks like the crcmod library expects this bit to be specified. So you should use the polynomial 0x11EDC6F41. (adding a 1 to the left).


Post a Comment for "Compute A CRC32C (Castagnoli) Which Uses The Generator Polynomial 1EDC6F41h Following Rocksoft Model CRC Algorithm In Python"