I'm trying to solve a puzzle: I've been given a bunch of sets of String/Key/Hash trios, and I need to figure out the hash function that generated each Hash from the given String/Key.

I'm stumped. Thoughts?