Boost logo

Boost :

Subject: Re: [boost] [interprocess] boost::hash - different values for the same input?
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2016-01-14 18:23:35


Bjorn Reese <breese_at_[hidden]> wrote:
> On 01/14/2016 06:18 PM, Phil Endecott wrote:
>
>> I use Boost.CRC for that sort of thing:
>>
>> http://www.boost.org/doc/libs/1_60_0/libs/crc/index.html
>
> The protocols I am using do not use fingerprinting for error
> correction

CRCs are not for error correction. You might be thinking of ECC?

> but rather for identifying data chunks.

A CRC is a good general-purpose hash function.

Regards, Phil.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk