Computes the checksum of a string.
The hexadecimal string returned will be in lower case.
checksum_type | |
str |
the string to compute the checksum of |
length |
the length of the string, or -1 if the string is null-terminated. |
the checksum as a hexadecimal string. The returned string should be freed with g_free when done using it. |