CRC-8 & CRC-16
CRC - Cyclic Redundancy Check is widely used in data transition. According to wikipedia.org
, A CRC-enabled device calculates a short, fixed-length binary sequence, known as the check value or CRC, for each block of data to be sent or stored and appends it to the data, forming a codeword.
When a codeword is received or read, the device either compares its check value with one freshly calculated from the data block, or equivalently, performs a CRC on the whole codeword and compares the resulting check value with an expected residue constant.
If the CRC values do not match, then the block contains a data error.
It's really hard to calculate CRC value by hand, so we add CRC8 & CRC16 algorithm in MTools. And this can really save your time to get the CRC values by one expression. Notice: This is the feature from the full version.
Byte values
There exist 16 bytes on each block of the Mifare 1k card.
And you can use b0
b1
b2
... b14
b15
for calculation.
CRC-8
The value of the CRC-8 result is only 1 byte. Supported CRC8 algorithm in MTools.
CRC-16
The value of CRC16 contains 2 bytes.
To get these two separately, 0
or 1
need to be added after the expression.
Supported CRC16 algorithm in MTools.
CRC-8 / CRC16 in Sniffer
The expression of the last byte b15
is CRC-8/MAXIM
, and the results are calculated correctly in a second.
Last updated