Add sha1 to the hash class.