Shift, Add, XOR hash algorithm. More...

Shift, Add, XOR hash algorithm.

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