Added hash() function

hash($type,$content). Accepts MD5, SHA1, crypt, and a special one: crypt&trim. More to be added soon.