Second revision

The Hash class was too small to be its own class, and there was only one
function that was needed (sha1_hash), so I extracted that, renamed it to
createDigest(), put it in Secure, and deleted all the other methods
(hmac_sha1 was a leftover).