Determine the object-ID (sha1 or sha256 hash) of a data buffer
The resulting 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