This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm writing a script that takes in two arrays. One array has a list of languages and the other has a greeting in that language.
I want to hash these two arrays together, using a randomly generated prime number used in the hashing. The problem is I really have no idea how to start this out right, can someone walk me through a sample of how hash functions are done?