...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The header crc.hpp provides two implementations of CRC (cyclic redundancy code) computation objects and two implementations of CRC computation functions. The implementations are template-based.
The first object implementation is for theoretical use. It can process single bits, but is considered slow for practical use. The second object implementation is byte-oriented and uses look-up tables for fast operation. The optimized implementation should be suitable for general use. The first function implementation uses the optimized object. The second function implementation allows the use of a CRC that directly follows its data.
Revised: 14 May 2001
Copyright 2001 Daryle Walker. Use, modification, and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or a copy at <http://www.boost.org/LICENSE_1_0.txt>.)