Allow me to point you at one of the best textbooks regarding Cryptography - aside from Schneier's work (and that I mentioned in this node) broken down by chapter in pdf.
You'll want to read Chapter 9. The intro (9.1) should describe hashing as far as you need it, and the rest of the chapter talks about methods and specific algorithms.
C-.
Comment on Re: What is MD5 Hashing and Why is it Important?