Compute CRC-32 cyclic redundancy check.
This implementation allows using any custom polynomial.
The crc32_generate()
function first generates a polynomial-derived table for faster CRC-32 computation.
This source code is in the public domain. You may use, share, modify it freely, without any conditions or restrictions.
Download source code:
See it in action, try it online now: