Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Jan Waclawek
05/16/16 16:38
Read: 2143 times

#190671 - CRC-32
A couple of years ago we've discussed CRC-16 here. Last week, I received an email from somebody who was searching for CRC-16 in the lost codebase, and stumbled upon that piece of code on my webpage.

Turned out, he needed a different variant of CRC-16 (there are half a dozen of them or so), known also as "Kermit". The difference is in the direction of shift, or, alternatively, in bit-swapping all the input bytes, and then also the result. I concocted a variant of the original code, and, meantime improved the original one by a couple of cycles too (there are remnants of the original code at the end of the file, I was lazy to purge them - please ignore those, the comments and code flow should show the direction).

Once at it, I also attempted an implementation of CRC-32.

Link to all of these on the very bottom of .

Enjoy! :-)

List of 3 messages in thread
CRC-32      Jan Waclawek      05/16/16 16:38      
   small font      Maarten Brock      05/22/16 02:36      
      web skills      Jan Waclawek      05/22/16 14:24      

Back to Subject List