Determine the object-ID (sha1 hash) of the given git_rawobj.
The input obj must be a valid loose object type and the data pointer must not be NULL, unless the len field is also zero.
the resulting object-ID.
the object whose hash is to be determined.