This is a great resource if you want to get your head around how hashes work...

http://unixwiz.net/techtips/iguide-crypto-hashes.html