3 ms·
I tried making PNGs before from bytes but got stuck on CRC generation - the math just seemed way over my head. Is there a simple way to explain CRC for someone
by 18nleung 9y ago
I tried making PNGs before from bytes but got stuck on CRC generation - the math just seemed way over my head.
Is there a simple way to explain CRC for someone with just a high school mathematics background?
- kuschku 9y agoDepends on where you went to high school. Did you have polynom division in school (most people have)? In that case, Wikipedia should be enough. Otherwise, you’d probably have to learn some more advanced math first to understand CRC well enough to implement it.
- karlding 9y agoI've always found "A Painless Guide to CRC Error Detection Algorithms" [1] from the zlib site pretty useful and easy to understand. Once you understand polynomial division, things start making a lot more sense. [1] https://zlib.net/crc_v3.txt https://zlib.net/crc_v3.txt
- 18nleung 9y agoThank you, this looks great.