hash32-5to12 ( bytes seed -- hash )


Vocabulary
checksums.cityhash.private

Inputs
bytesan object
seedan object


Outputs
hashan object


Definition


:: hash32-5to12 ( bytes seed -- hash )
bytes length :> len len 5 w* :> b b seed w+
len bytes 0 fetch32 w+ mur b bytes len 4 - fetch32 w+ mur
bytes len -1 shift 4 bitand fetch32 9 w+ mur seed bitxor
fmix ;