Skip to content

About

About

CRC(Cyclic Redundancy Check) is an algorithm primarily made for checking data integrity. However, the algorithm is not appropriate for cryptographic uses.

The CRC module in BigLib currently contains 111 predefined CRCs implemented using the CRCEngineStatic class. A list of all predefined CRCs can be found here.

Here's an example of how to use the CRC module for checking data integrity:

auto CRC = BigLib::DataIntegrity::CRC::CRC_32_ISO_HDLC(); // Also Known As CRC-32
uint32_t CRCResult = CRC.UpdateCRC("123456789", 9).GetCRC();
if (CRCResult == 0xCBF43926) {
    std::cout << "Data Is Correct\n";
}
else {
    std::cout << "Data Is Not Correct\n";
}