Returns a GUID for some data.
This uses a hash and so even small differences in the data will produce radically different return values.
The implementation is taken from RFC4122, Section 4.1.3; specifically using a type-5 SHA-1 hash.
| data |
data to hash |
| datasz |
length of |
| flags |
GUID flags, e.g. fwupd_guid_flag_namespace_microsoft |
|
a new GUID, or null for internal error |