So in closing, this is a recipe I recommend for coding of hash functions if what you're looking to do is sort of minimize program ming, programmer time, subject to not coming up with a hash function, which is completely broken. 