hex-in / libscrc

libscrc is a library for calculating CRC3 CRC4 CRC5 CRC6 CRC7 CRC8 CRC10 CRC11 CRC12 CRC15 CRC16 CRC24 CRC30 CRC31 CRC32 CRC64 CRC82
GNU General Public License v3.0
49 stars 13 forks source link

CRC16-MCRF4XX #3

Closed Blazin64 closed 4 years ago

Blazin64 commented 4 years ago

This adds support for the CRC method used by MCRF4XX RFID hardware. It is essentially Kermit, but initialized with 0xFFFF instead of 0x0000. A test for it has been added to libscrc/testcrc16.py.

The parameters were retrieved from the Reveng project's catalogue. I compared the results with the CRC calculators on Sunshine2k.de and Crccalc.com.