The returned string should be freed with [glib.global.gfree] when done using it.
computeHmacForString
fn
string computeHmacForString(glib.types.ChecksumType digestType, ubyte[] key, string str)Computes the HMAC for a string.
The hexadecimal string returned will be in lower case.
Parameters
digestType | a #GChecksumType to use for the HMAC |
key | the key to use in the HMAC |
str | the string to compute the HMAC for |
Returns
the HMAC as a hexadecimal string.