Skip to content

CRC (Cyclic Redundancy Check) algorithms implemented in C++

License

Notifications You must be signed in to change notification settings

PharrellWANG/crc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRC

CRC (Cyclic Redundancy Check) algorithms implemented in C++.

  1. Bitwise, Bytewise-Non-Table, and Bytewise-Table-Driven algorithms for CRC-8, CRC-16 and CRC32.
  2. The CRC algorithm in VTM4.0 has been extracted as CrcXVTM4 under src/Lib directory.
  3. Each Lib is covered by test cases, including Lib CrcXVTM4.

Usage

Clone the project, from project root dir, run tests:

mkdir build && cd build && cmake .. && cmake --build . && ctest

All tests should pass.

References

  1. A PAINLESS GUIDE TO CRC ERROR DETECTION ALGORITHMS
  2. Understanding CRC
  3. How is crc32 checksum calculated

About

CRC (Cyclic Redundancy Check) algorithms implemented in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages