3 ms·
For future reference there's an excellent tool for discovering the parameters of a CRC model with pairs of inputs and outputs called RevEng [0] (github copy: [1
by AlotOfReading 4y ago
For future reference there's an excellent tool for discovering the parameters of a CRC model with pairs of inputs and outputs called RevEng [0] (github copy: [1]). Once you have the parameters you can use the CRC crate [2] with a predefined CRC or a custom algorithm (highly unlikely).
[0] https://reveng.sourceforge.io/ https://reveng.sourceforge.io/
[1] https://github.com/berney/reveng https://github.com/berney/reveng
[2] https://crates.io/crates/crc https://crates.io/crates/crc
- dragontamer 4y agoGoing on this "Brute Force" discussion... the CRC Zoo is computing the minimal hamming distances of various CRCs. https://users.ece.cmu.edu/~koopman/crc/notes.html https://users.ece.cmu.edu/~koopman/crc/notes.html I don't know what algorithm they're using, but the idea that you can make a hamming distance calculation over all possible input sets these days is pretty spectacular.
- neilv 4y agoThanks! And another tool recommended to me: https://crccalc.com/ https://crccalc.com/