14 Jan
2016
14 Jan
'16
5:59 p.m.
On 01/14/2016 06:18 PM, Phil Endecott wrote:
I use Boost.CRC for that sort of thing:
The protocols I am using do not use fingerprinting for error correction but rather for identifying data chunks. See for instance: http://people.eng.unimelb.edu.au/jzobel/fulltext/jasist03thz.pdf You will notice that equation (1) on page 207 looks an awful lot like the default boost::hash implementation. Just to be sure, I do use my own implementation instead of boost::hash (and hash_combine) because Daniel does not guarantee its consistency. That is fine with me, but I really would like to see some named hash functions in boost that do not change, as Andrey suggested. This sounds like a suitable a GSoC project...