Fast CRC32
Switch branches/tags
Nothing to show
Clone or download
Latest commit 91c3898 Aug 9, 2018

Fast CRC32

This is a mirror of my CRC32 library hosted at

Features in a nutshell:

  • C++ code, single file
  • the fastest algorithms need about 1 CPU cycle per byte
  • endian-aware
  • runs even on Arduino, Raspberry Pi, etc.
  • quite long posting about it on, describing each implemented algorithm in detail


  • bitwise
  • branch-free bitwise
  • half-byte
  • tableless full-byte
  • Sarwate's original algorithm
  • slicing-by-4
  • slicing-by-8
  • slicing-by-16

See my website for documentation, code examples and a benchmark.