I was doing a protocol implementation and I had to use CRC16 checksum as part of the packet. Looks like CRC 16 has been removed from Java 1.0.2 onwards, so I had to spend little more time on search on Java CRC implementations. I was also under the impression that’s its really difficult to implement my own CRC implementation, at least until I read "
A PAINLESS GUIDE TO CRC ERROR DETECTION ALGORITHMS". If you have just heard about checksums and CRC, it’s worth a read. I don’t think any other document explains CRC as detail and simple as this one.
Also here is a
Hexadecimal class, which I found useful, if you are dealing with Hex a lot, I am sure this might be handy
posted by 88Pro / Friday, March 18, 2005