CRC models
This is a list of special CRC model names pycrc knows about.
If you can't find your model here, have a look at Greg Cook's catalogue of parametrised CRC Algorithms.
crc-5
Width | 5 |
Poly | 0x5 |
Reflect In | True |
XOR In | 0x1f |
Reflect Out | True |
XOR Out | 0x1f |
Short command | pycrc.py --model crc-5 |
Extended command | pycrc.py --width 5 --poly 0x5 --reflect-in True --xor-in 0x1f --reflect-out True --xor-out 0x1f |
Check | 0x19 |
crc-8
Width | 8 |
Poly | 0x07 |
Reflect In | False |
XOR In | 0x00 |
Reflect Out | False |
XOR Out | 0x00 |
Short command | pycrc.py --model crc-8 |
Extended command | pycrc.py --width 8 --poly 0x07 --reflect-in False --xor-in 0x00 --reflect-out False --xor-out 0x00 |
Check | 0xf4 |
dallas-1-wire
Width | 8 |
Poly | 0x31 |
Reflect In | True |
XOR In | 0x00 |
Reflect Out | True |
XOR Out | 0x00 |
Short command | pycrc.py --model dallas-1-wire |
Extended command | pycrc.py --width 8 --poly 0x31 --reflect-in True --xor-in 0x00 --reflect-out True --xor-out 0x00 |
Check | 0xa1 |
crc-12-3gpp
Width | 12 |
Poly | 0x80f |
Reflect In | False |
XOR In | 0x000 |
Reflect Out | True |
XOR Out | 0x000 |
Short command | pycrc.py --model crc-12-3gpp |
Extended command | pycrc.py --width 12 --poly 0x80f --reflect-in False --xor-in 0x000 --reflect-out True --xor-out 0x000 |
Check | 0xdaf |
crc-15
Width | 15 |
Poly | 0x4599 |
Reflect In | False |
XOR In | 0x000 |
Reflect Out | False |
XOR Out | 0x000 |
Short command | pycrc.py --model crc-15 |
Extended command | pycrc.py --width 15 --poly 0x4599 --reflect-in False --xor-in 0x000 --reflect-out False --xor-out 0x000 |
Check | 0x59e |
crc-16
Width | 16 |
Poly | 0x8005 |
Reflect In | True |
XOR In | 0x0000 |
Reflect Out | True |
XOR Out | 0x0000 |
Short command | pycrc.py --model crc-16 |
Extended command | pycrc.py --width 16 --poly 0x8005 --reflect-in True --xor-in 0x0000 --reflect-out True --xor-out 0x0000 |
Check | 0xbb3d |
crc-16-usb
Width | 16 |
Poly | 0x8005 |
Reflect In | True |
XOR In | 0xffff |
Reflect Out | True |
XOR Out | 0xffff |
Short command | pycrc.py --model crc-16-usb |
Extended command | pycrc.py --width 16 --poly 0x8005 --reflect-in True --xor-in 0xffff --reflect-out True --xor-out 0xffff |
Check | 0xb4c8 |
crc-16-modbus
Width | 16 |
Poly | 0x8005 |
Reflect In | True |
XOR In | 0xffff |
Reflect Out | True |
XOR Out | 0x0000 |
Short command | pycrc.py --model crc-16-modbus |
Extended command | pycrc.py --width 16 --poly 0x8005 --reflect-in True --xor-in 0xffff --reflect-out True --xor-out 0x0000 |
Check | 0x4b37 |
crc-16-genibus
Width | 16 |
Poly | 0x1021 |
Reflect In | False |
XOR In | 0xffff |
Reflect Out | False |
XOR Out | 0xffff |
Short command | pycrc.py --model crc-16-genibus |
Extended command | pycrc.py --width 16 --poly 0x1021 --reflect-in False --xor-in 0xffff --reflect-out False --xor-out 0xffff |
Check | 0xd64e |
crc-16-ccitt
Width | 16 |
Poly | 0x1021 |
Reflect In | False |
XOR In | 0x1d0f |
Reflect Out | False |
XOR Out | 0x0000 |
Short command | pycrc.py --model crc-16-ccitt |
Extended command | pycrc.py --width 16 --poly 0x1021 --reflect-in False --xor-in 0x1d0f --reflect-out False --xor-out 0x0000 |
Check | 0xe5cc |
r-crc-16
Width | 16 |
Poly | 0x0589 |
Reflect In | False |
XOR In | 0x0000 |
Reflect Out | False |
XOR Out | 0x0001 |
Short command | pycrc.py --model r-crc-16 |
Extended command | pycrc.py --width 16 --poly 0x0589 --reflect-in False --xor-in 0x0000 --reflect-out False --xor-out 0x0001 |
Check | 0x007e |
kermit
Width | 16 |
Poly | 0x1021 |
Reflect In | True |
XOR In | 0x0000 |
Reflect Out | True |
XOR Out | 0x0000 |
Short command | pycrc.py --model kermit |
Extended command | pycrc.py --width 16 --poly 0x1021 --reflect-in True --xor-in 0x0000 --reflect-out True --xor-out 0x0000 |
Check | 0x2189 |
x-25
Width | 16 |
Poly | 0x1021 |
Reflect In | True |
XOR In | 0xffff |
Reflect Out | True |
XOR Out | 0xffff |
Short command | pycrc.py --model x-25 |
Extended command | pycrc.py --width 16 --poly 0x1021 --reflect-in True --xor-in 0xffff --reflect-out True --xor-out 0xffff |
Check | 0x906e |
xmodem
Width | 16 |
Poly | 0x1021 |
Reflect In | False |
XOR In | 0x0000 |
Reflect Out | False |
XOR Out | 0x0000 |
Short command | pycrc.py --model xmodem |
Extended command | pycrc.py --width 16 --poly 0x1021 --reflect-in False --xor-in 0x0000 --reflect-out False --xor-out 0x0000 |
Check | 0x31c3 |
zmodem
Width | 16 |
Poly | 0x1021 |
Reflect In | False |
XOR In | 0x0000 |
Reflect Out | False |
XOR Out | 0x0000 |
Short command | pycrc.py --model zmodem |
Extended command | pycrc.py --width 16 --poly 0x1021 --reflect-in False --xor-in 0x0000 --reflect-out False --xor-out 0x0000 |
Check | 0x31c3 |
crc-24
Width | 24 |
Poly | 0x864cfb |
Reflect In | False |
XOR In | 0xb704ce |
Reflect Out | False |
XOR Out | 0x000000 |
Short command | pycrc.py --model crc-24 |
Extended command | pycrc.py --width 24 --poly 0x864cfb --reflect-in False --xor-in 0xb704ce --reflect-out False --xor-out 0x000000 |
Check | 0x21cf02 |
crc-32
Width | 32 |
Poly | 0x04c11db7 |
Reflect In | True |
XOR In | 0xffffffff |
Reflect Out | True |
XOR Out | 0xffffffff |
Short command | pycrc.py --model crc-32 |
Extended command | pycrc.py --width 32 --poly 0x04c11db7 --reflect-in True --xor-in 0xffffffff --reflect-out True --xor-out 0xffffffff |
Check | 0xcbf43926 |
crc-32c
Width | 32 |
Poly | 0x1edc6f41 |
Reflect In | True |
XOR In | 0xffffffff |
Reflect Out | True |
XOR Out | 0xffffffff |
Short command | pycrc.py --model crc-32c |
Extended command | pycrc.py --width 32 --poly 0x1edc6f41 --reflect-in True --xor-in 0xffffffff --reflect-out True --xor-out 0xffffffff |
Check | 0xe3069283 |
crc-32-mpeg
Width | 32 |
Poly | 0x04c11db7 |
Reflect In | False |
XOR In | 0xffffffff |
Reflect Out | False |
XOR Out | 0x00000000 |
Short command | pycrc.py --model crc-32-mpeg |
Extended command | pycrc.py --width 32 --poly 0x04c11db7 --reflect-in False --xor-in 0xffffffff --reflect-out False --xor-out 0x00000000 |
Check | 0x0376e6e7 |
crc-32-bzip2
Width | 32 |
Poly | 0x04c11db7 |
Reflect In | False |
XOR In | 0xffffffff |
Reflect Out | False |
XOR Out | 0xffffffff |
Short command | pycrc.py --model crc-32-bzip2 |
Extended command | pycrc.py --width 32 --poly 0x04c11db7 --reflect-in False --xor-in 0xffffffff --reflect-out False --xor-out 0xffffffff |
Check | 0xfc891918 |
posix
Width | 32 |
Poly | 0x04c11db7 |
Reflect In | False |
XOR In | 0x00000000 |
Reflect Out | False |
XOR Out | 0xffffffff |
Short command | pycrc.py --model posix |
Extended command | pycrc.py --width 32 --poly 0x04c11db7 --reflect-in False --xor-in 0x00000000 --reflect-out False --xor-out 0xffffffff |
Check | 0x765e7680 |
jam
Width | 32 |
Poly | 0x04c11db7 |
Reflect In | True |
XOR In | 0xffffffff |
Reflect Out | True |
XOR Out | 0x00000000 |
Short command | pycrc.py --model jam |
Extended command | pycrc.py --width 32 --poly 0x04c11db7 --reflect-in True --xor-in 0xffffffff --reflect-out True --xor-out 0x00000000 |
Check | 0x340bc6d9 |
xfer
Width | 32 |
Poly | 0x000000af |
Reflect In | False |
XOR In | 0x00000000 |
Reflect Out | False |
XOR Out | 0x00000000 |
Short command | pycrc.py --model xfer |
Extended command | pycrc.py --width 32 --poly 0x000000af --reflect-in False --xor-in 0x00000000 --reflect-out False --xor-out 0x00000000 |
Check | 0xbd0be338 |
crc-64
Width | 64 |
Poly | 0x000000000000001b |
Reflect In | True |
XOR In | 0x0000000000000000 |
Reflect Out | True |
XOR Out | 0x0000000000000000 |
Short command | pycrc.py --model crc-64 |
Extended command | pycrc.py --width 64 --poly 0x000000000000001b --reflect-in True --xor-in 0x0000000000000000 --reflect-out True --xor-out 0x0000000000000000 |
Check | 0x46a5a9388a5beffe |
crc-64-jones
Width | 64 |
Poly | 0xad93d23594c935a9 |
Reflect In | True |
XOR In | 0xffffffffffffffff |
Reflect Out | True |
XOR Out | 0x0000000000000000 |
Short command | pycrc.py --model crc-64-jones |
Extended command | pycrc.py --width 64 --poly 0xad93d23594c935a9 --reflect-in True --xor-in 0xffffffffffffffff --reflect-out True --xor-out 0x0000000000000000 |
Check | 0xcaa717168609f281 |
crc-64-xz
Width | 64 |
Poly | 0x42f0e1eba9ea3693 |
Reflect In | True |
XOR In | 0xffffffffffffffff |
Reflect Out | True |
XOR Out | 0xffffffffffffffff |
Short command | pycrc.py --model crc-64-xz |
Extended command | pycrc.py --width 64 --poly 0x42f0e1eba9ea3693 --reflect-in True --xor-in 0xffffffffffffffff --reflect-out True --xor-out 0xffffffffffffffff |
Check | 0x995dc9bbdf1939fa |