Collection of various tools to analyze and reverse engineer checksums in short data packets.
Mainly intended to help analyze software defined radio (SDR) data transmission from sensor modules.
The main tools are written in portable C (C11 standard) and known to compile on Linux, MacOS, and Windows systems.
mkdir build
cd build
cmake ..
make
Currently missing proper options, error checking, and documentation. If this is somewhat useful to you, let me know, I might develop this further.
Input files need to contain hex messages.
A hex prefix ( 0x
) will be ignored.
All padding characters will be ignored.
All codes need to be the same length (bytes or nibbles).
Inline-comments ( ;
, #
, //
) will end the line.
Multi-line comments ( /*
.. */
) will be skipped.
If no file is given stdin will be read.
List keys from LFSR generators.
Analyze and break out bit changes and compare checksums.
Reverse 8-bit LFSR digest.
Includes Galois, Fibonacci, Reverse-Galois, Reverse-Fibonacci, Fletcher, Reverse-Fletcher, Shift16. Each on plain data, byte-reflect, bit-reflect, bit-reflect and byte-reflect.
Reverse 16-bit LFSR digest.
Reverse simple checksums.
Includes byte-wide sums, nibble-wide sum, parity, and CRC-8.
Copyright (C) 2019 Christian W. Zuckschwerdt zany@triq.net
Unless otherwise noted all sources are:
License: GPL-2+