What I would like to know is whether or not I have sufficient information to determine a particular checksum algorithm being used.
In my case I have a very large stream of data with many frames of data and their respective checksums. Here is what I know:
- The data-field (of which the checksum is being computed) for each frame in the stream.
- The checksum of each packet.
Is this a sufficient amount of information to determine a checksum algorithm? I also have many samples so I could try out a particular checksum algorithm on all the samples to see whether/not the algorithm will work in each case.
Here is more information that may clarify things:
- The length of the data appears to be 2 bytes.
- The length of the checksum appears to be 4 bytes.