// Copyright 2023 Peter Dimov. // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt) #include #include int main() { boost::crc_32_type crc; char const* data = "Hello, world!"; crc.process_bytes( data, std::strlen( data ) ); return crc.checksum() == 0xEBE6C6E6u? 0: 1; }