Determine the object-ID (sha1 hash) of a data buffer
The resulting SHA-1 OID will be the identifier for the data buffer as if the data buffer it were to written to the ODB.
the resulting object-ID.
data to hash
size of the data
of the data to hash
0 or an error code