Yah, this is odd - taking a hash of a hash. Just XORing the two with `h` seems to be a good idea.