GLib.compute_hmac_for_string
function compute_hmac_for_string(digest_type: GLib.ChecksumType, key: ByteArray, str: String, length: Number(gssize)): String {
    // Gjs wrapper for g_compute_hmac_for_string()
}
  Computes the HMAC for a string.
The hexadecimal string returned will be in lower case.
Since 2.30
- digest_type
 a GLib.ChecksumType to use for the HMAC
- key
 the key to use in the HMAC
- str
 the string to compute the HMAC for
- length
 the length of the string, or -1 if the string is nul-terminated
- Returns
 the HMAC as a hexadecimal string. The returned string should be freed with GLib.free when done using it.