tpircher-zz / pycrc

Free, easy to use Cyclic Redundancy Check (CRC) calculator and source code generator
https://pycrc.org
MIT License
169 stars 36 forks source link

Python implementation of bit-by-bit algorithm should apply the mask to the final value #10

Closed tpircher-zz closed 9 years ago

tpircher-zz commented 9 years ago

When the CRC width is less than 8 then the bit-by-bit algorithm needs to apply the CRC mask to the final value.

Thanks to Steve Geo for reporting.