I\'m curious as to whether or not there\'s some simple and/or well known hash method with the following properties:
A simple approach: hash(x) = rotate-shl(x, K1) xor C
hash(x) = rotate-shl(x, K1) xor C
You can combine several simple operations to achieve more "random" result, like rotate-shl/shr, bit-reverse, xor, not and so on.
rotate-shl/shr
bit-reverse
xor
not