This page demonstrates PHP's
hashing function. I knocked it together because I wanted a quick way of checking whether passwords stored in a password vault matched the passwords stored in databases. More information on this sort of thing is available from the
PHP site, or from
Wikipedia.