or null if [glib.checksum.Checksum.new_] fails for checksum_type. The returned string should be freed with [glib.global.gfree] when done using it.
computeChecksumForString
fn
string computeChecksumForString(glib.types.ChecksumType checksumType, string str)Computes the checksum of a string.
The hexadecimal string returned will be in lower case.
Parameters
checksumType | a #GChecksumType |
str | the string to compute the checksum of |
Returns
the checksum as a hexadecimal string,