One at a time hash algorithm. More...

One at a time hash algorithm.

found on http://burtleburtle.net/bob/hash/doobs.html

Parameters
bufinput buffer to hash
lenlength of buffer
Returns
32 bit sized hash