Hashing Functions

The Division Method ( for integers )


The Multiplication Method ( for integers )


What if the keys aren't integers?

How do we convert strings to positive integers?

            See Fig 5.4 in the text, page 183