computeChecksumForBytes

Computes the checksum for a binary @data. This is a convenience wrapper for g_checksum_new(), g_checksum_get_string() and g_checksum_free().

The hexadecimal string returned will be in lower case.

Return

the digest of the binary data as a string in hexadecimal, or null if g_checksum_new() fails for

Since

2.34

Parameters

checksumType

a #GChecksumType

data

binary blob to compute the digest of