How do I generate and compare a hash value?

http://asp.dotnetheaven.com/howto/doc/hash.aspx